From 9d980618a78b41bc3262c5185df67ccf6076a296 Mon Sep 17 00:00:00 2001
From: AAGaming <aa@mail.catvibers.me>
Date: Thu, 8 Sep 2022 20:19:54 -0400
Subject: spice up js-side logs from store and branch select

---
 frontend/src/components/store/Store.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'frontend/src/components/store/Store.tsx')

diff --git a/frontend/src/components/store/Store.tsx b/frontend/src/components/store/Store.tsx
index fd582edd..cb6f34ad 100644
--- a/frontend/src/components/store/Store.tsx
+++ b/frontend/src/components/store/Store.tsx
@@ -1,9 +1,12 @@
 import { SteamSpinner } from 'decky-frontend-lib';
 import { FC, useEffect, useState } from 'react';
 
+import Logger from '../../logger';
 import { LegacyStorePlugin, StorePlugin, getLegacyPluginList, getPluginList } from '../../store';
 import PluginCard from './PluginCard';
 
+const logger = new Logger('FilePicker');
+
 const StorePage: FC<{}> = () => {
   const [data, setData] = useState<StorePlugin[] | null>(null);
   const [legacyData, setLegacyData] = useState<LegacyStorePlugin[] | null>(null);
@@ -11,12 +14,12 @@ const StorePage: FC<{}> = () => {
   useEffect(() => {
     (async () => {
       const res = await getPluginList();
-      console.log(res);
+      logger.log('got data!', res);
       setData(res);
     })();
     (async () => {
       const res = await getLegacyPluginList();
-      console.log(res);
+      logger.log('got legacy data!', res);
       setLegacyData(res);
     })();
   }, []);
-- 
cgit v1.2.3

