mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-19 16:15:04 +00:00
darkmode as default
This commit is contained in:
1 parent
6ad6819f8d
commit
6dbfab8008
1 file changed
+1
-1
@@ -54,7 +54,7 @@ function NewTopNavFc(props: Props) {
|
||||
const defaultLowSpecView = window.localStorage.getItem("lowSpec");
|
||||
|
||||
const [darkModes, toggleDarkModes] = useState(
|
||||
defaultColourView === "true" ? true : false
|
||||
defaultColourView === "false" ? true : false
|
||||
);
|
||||
const [lowSpecView, toggleLowSpecs] = useState(
|
||||
defaultLowSpecView === "true" ? true : false
|
||||
|
||||
Reference in new issue
Block a user