From bff53b75a6635f1aa3a8fcaef85bb198f5f7144c Mon Sep 17 00:00:00 2001 From: lance10030 Date: Tue, 13 Aug 2024 21:33:48 +0800 Subject: [PATCH] feat: remove log --- src/hooks/useLatestGame.ts | 1 - src/hooks/useSyncEvents.ts | 2 -- src/pages/index.tsx | 1 - 3 files changed, 4 deletions(-) diff --git a/src/hooks/useLatestGame.ts b/src/hooks/useLatestGame.ts index 3d7994a..b0d1710 100644 --- a/src/hooks/useLatestGame.ts +++ b/src/hooks/useLatestGame.ts @@ -34,7 +34,6 @@ export const useLatestGame = ( ...defaultParams, ...(params ? params : {}), }; - console.log(p, 'ppp') const requestUrl = `${indexApiPrefix}${url}`; const res = useSWR([requestUrl, p], getFetcher(requestUrl, p)); return res; diff --git a/src/hooks/useSyncEvents.ts b/src/hooks/useSyncEvents.ts index 206baf5..e393267 100644 --- a/src/hooks/useSyncEvents.ts +++ b/src/hooks/useSyncEvents.ts @@ -21,8 +21,6 @@ const getFetcher = (path: string, params?: EventsParams,) => async (): Promise item.date); const error =