diff --git a/daily-thought-frontend/src/hooks/useQuestion.ts b/daily-thought-frontend/src/hooks/useQuestion.ts index d0040e494272687cbe2323e8aa3aacb0ed6871e3..fe8d49c51406f6a39fdee3069faa59b9c8aba9cb 100644 --- a/daily-thought-frontend/src/hooks/useQuestion.ts +++ b/daily-thought-frontend/src/hooks/useQuestion.ts @@ -24,7 +24,6 @@ export const useQuestion = () => { if (!rehydrateQuestion) return; fetchQuestion().then((res) => { - console.log('q', res); setQuestion(res); setRehydrateQuestion(false); }); diff --git a/daily-thought-frontend/src/hooks/useUser.ts b/daily-thought-frontend/src/hooks/useUser.ts index 86c17949ee5094499170d7f222e7567732054f40..78d3cf7ab47dcb936eabbd3ccb3d1cae202b9f5b 100644 --- a/daily-thought-frontend/src/hooks/useUser.ts +++ b/daily-thought-frontend/src/hooks/useUser.ts @@ -29,7 +29,6 @@ export const useUser = () => { if (!rehydrateUser) return; fetchUser().then((res) => { - console.log('u', res); const { _id, username, email, profile, firstName, lastName } = res; setUser({ id: _id, email, username, profile, firstName, lastName }); setRehydrateUser(false); diff --git a/daily-thought-frontend/src/pages/feed.tsx b/daily-thought-frontend/src/pages/feed.tsx index 2e2f0c3e2266c202c7d617b4ce2e17c06a9a28bf..5307b2d4287a2f779d5b3b709ccd14efe05a6c21 100644 --- a/daily-thought-frontend/src/pages/feed.tsx +++ b/daily-thought-frontend/src/pages/feed.tsx @@ -20,6 +20,7 @@ const Feed = () => { const [postComplete, setPostComplete] = useState<boolean>(false); console.log(feed); + console.log(feedUsers); useEffect(() => { if (question === undefined && user === undefined) { @@ -39,8 +40,6 @@ const Feed = () => { setRehydrateFeed(true); }; - console.log(feedUsers, 'JDKL', feed); - return ( <div className="w-full h-screen flex flex-col"> <div className=""> @@ -104,8 +103,6 @@ const Feed = () => { {feed.feed.map((feedPost: FeedPost) => { const feedUser = feedUsers.get(feedPost.userId); - console.log(feedUser); - if (feedUser !== undefined && user !== undefined) { return ( <Post