diff --git a/src/app/main/TodayTab/index.tsx b/src/app/main/TodayTab/index.tsx index be1eb31..69833bb 100644 --- a/src/app/main/TodayTab/index.tsx +++ b/src/app/main/TodayTab/index.tsx @@ -61,8 +61,7 @@ const TodayTab = () => { ); }) ?? []; - // setTodayArticleData(filteredData); - data && setTodayArticleData(data); + setTodayArticleData(filteredData); }, [data]); useEffect(() => { if (isError && error.response?.status === 403) { @@ -75,7 +74,7 @@ const TodayTab = () => { return isFetched && todayArticleData.length > 0 ? ( <> -