diff --git a/src/hooks/home/useGetPopularList.ts b/src/hooks/home/useGetPopularList.ts index d0576af..b4c86a3 100644 --- a/src/hooks/home/useGetPopularList.ts +++ b/src/hooks/home/useGetPopularList.ts @@ -23,11 +23,7 @@ const useGetPopularList = () => { if (!res && weeklyPopularList) { setBrandList(weeklyPopularList[currentDate]); - await useSetCacheData( - 'brand', - '/WeeklyPopular', - weeklyPopularList[currentDate] - ); + await useSetCacheData('brand', '/WeeklyPopular', weeklyPopularList); return; } if (res && weeklyPopularList && cachedDate === currentDate) {