From 7b9de74ce60548446e65d2c4c8057659246305ab Mon Sep 17 00:00:00 2001 From: Kyle Ramachandran Date: Tue, 16 Apr 2024 13:08:01 -0700 Subject: [PATCH] recommended stories bug --- src/app/(tabs)/home/index.tsx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/app/(tabs)/home/index.tsx b/src/app/(tabs)/home/index.tsx index e7cc41b..ec1db18 100644 --- a/src/app/(tabs)/home/index.tsx +++ b/src/app/(tabs)/home/index.tsx @@ -75,21 +75,12 @@ function HomeScreen() { setRecentlyViewed(recentStoryResponse); })().finally(() => { setLoading(false); - async () => { - const recommendedStoriesResponse = await fetchRecommendedStories( - recentlyViewed, - ).catch(() => []); - setRecommendedStories(recommendedStoriesResponse); - }; }); }, [user]); - // useEffect(() => { - // (async () => { - - // }) - // }, [recentlyViewed]) + useEffect(() => {}, []); + console.log(recommendedStories); return (