mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
yeet react-twemoji and use-dark-mode
This commit is contained in:
parent
4968635298
commit
af8b913ca8
11 changed files with 21605 additions and 299 deletions
|
|
@ -16,6 +16,7 @@ import Template from './Pages/Template.js'
|
|||
import Navbar from './Components/Navbar.js'
|
||||
|
||||
export default function App() {
|
||||
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const [isSubmit, setIsSubmit] = useState(false);
|
||||
const [isInvalid, setIsInvalid] = useState(false);
|
||||
|
|
@ -24,7 +25,7 @@ export default function App() {
|
|||
const forceUpdate = useCallback(() => updateState({}), []);
|
||||
|
||||
return (
|
||||
<div className={ `contents ${localStorage.getItem('opendyslexic') ? "opendyslexic" : ""}`}>
|
||||
<div className={ `contents ${localStorage.getItem('opendyslexic') ? "opendyslexic" : ""} ${localStorage.getItem("pk-darkmode") ? "dark-mode" : ""}`}>
|
||||
<Router history={history}>
|
||||
<Navbar forceUpdate={forceUpdate} setIsSubmit={setIsSubmit} />
|
||||
<div className="content">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue