Disable public mode by default
This commit is contained in:
parent
aac878a245
commit
42f2014936
@ -11,7 +11,7 @@ const PublicModeContextK = React.createContext<PublicModeContext | null>(null);
|
||||
|
||||
export function PublicModeProvider(p: PropsWithChildren): React.ReactElement {
|
||||
const [enabled, setEnabled] = React.useState(
|
||||
localStorage.getItem(localStorageKey) !== "false"
|
||||
localStorage.getItem(localStorageKey) === "true"
|
||||
);
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user