From 7bf95d8e12837a948743b397cbbfada1f8bf596c Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Tue, 23 Apr 2024 19:19:38 +1000 Subject: [PATCH] default to anon --- client/src/components/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Home.tsx b/client/src/components/Home.tsx index 1a56f26..430501b 100644 --- a/client/src/components/Home.tsx +++ b/client/src/components/Home.tsx @@ -32,7 +32,7 @@ const useUniqEvents = () => { const Home = () => { const filterDifficulty = localStorage.getItem("filterDifficulty") || DEFAULT_DIFFICULTY; const [sortByTime, setSortByTime] = useState(localStorage.getItem('sortBy') !== 'false'); - const [setAnon, setSetAnon] = useState(localStorage.getItem('anonMode') !== 'false'); + const [setAnon, setSetAnon] = useState(localStorage.getItem('anonMode') !== 'true'); const {noteEvents, metadataEvents } = useUniqEvents(); const [delayedSort, setDelayedSort] = useState(false)