mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add page reload for toggling anon mode
This commit is contained in:
@@ -446,7 +446,7 @@ const SettingsModal = ({ isOpen, closeModal }) => {
|
|||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={anonymousMode}
|
checked={anonymousMode}
|
||||||
onChange={() => {setAnonymousMode(!anonymousMode)}}
|
onChange={() => {setAnonymousMode(!anonymousMode); window.location.reload();}}
|
||||||
/>
|
/>
|
||||||
Anon Mode
|
Anon Mode
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user