diff --git a/src/App.js b/src/App.js index b578a4c8..334f50ca 100644 --- a/src/App.js +++ b/src/App.js @@ -121,7 +121,8 @@ export default function App() { - + + { !localStorage.getItem('token') || isInvalid ? : } @@ -167,7 +168,7 @@ export default function App() {

Change how you view and use pk-webs here, changes will be saved after refreshing. You will have to apply them again in different browsers and on different devices.


- + { localStorage.getItem('opendyslexic') ? } Use opendyslexic? - + { localStorage.getItem('twemoji') ? } Use twemoji? + + { localStorage.getItem('pagesonly') ? + { + localStorage.removeItem('pagesonly'); + forceUpdate()}} /> : + { + localStorage.setItem('pagesonly', 'true') + forceUpdate()}} /> } + Use only member pages? + + + { localStorage.getItem('colorbg') ? + { + localStorage.removeItem('colorbg'); + forceUpdate()}} /> : + { + localStorage.setItem('colorbg', 'false') + forceUpdate()}} /> } + Hide colored backgrounds? +