mirror of
https://github.com/smolgrrr/TAO.git
synced 2024-09-20 01:11:25 +00:00
default to anon
This commit is contained in:
parent
26ac3824cc
commit
7bf95d8e12
@ -32,7 +32,7 @@ const useUniqEvents = () => {
|
|||||||
const Home = () => {
|
const Home = () => {
|
||||||
const filterDifficulty = localStorage.getItem("filterDifficulty") || DEFAULT_DIFFICULTY;
|
const filterDifficulty = localStorage.getItem("filterDifficulty") || DEFAULT_DIFFICULTY;
|
||||||
const [sortByTime, setSortByTime] = useState<boolean>(localStorage.getItem('sortBy') !== 'false');
|
const [sortByTime, setSortByTime] = useState<boolean>(localStorage.getItem('sortBy') !== 'false');
|
||||||
const [setAnon, setSetAnon] = useState<boolean>(localStorage.getItem('anonMode') !== 'false');
|
const [setAnon, setSetAnon] = useState<boolean>(localStorage.getItem('anonMode') !== 'true');
|
||||||
const {noteEvents, metadataEvents } = useUniqEvents();
|
const {noteEvents, metadataEvents } = useUniqEvents();
|
||||||
const [delayedSort, setDelayedSort] = useState(false)
|
const [delayedSort, setDelayedSort] = useState(false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user