We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb3141a commit f22857eCopy full SHA for f22857e
client/src/pages/Home.tsx
@@ -17,12 +17,10 @@ const Home = () => {
17
18
const dispatch = useContext(GlobalDispatchContext);
19
const { poll, profileId, visitor } = useContext(GlobalStateContext);
20
- console.log(poll, " lalala");
21
const isAdmin = visitor?.isAdmin || false;
22
23
// Initial fetch of poll data
24
useEffect(() => {
25
- console.log(" lalala");
26
fetchPollData();
27
}, []);
28
@@ -43,7 +41,6 @@ const Home = () => {
43
41
type: SET_POLL,
44
42
payload: { poll },
45
});
46
- console.log("poll: ", poll);
47
})
48
.catch((error) => setErrorMessage(dispatch, error))
49
.finally(() => setIsLoading(false));
0 commit comments