From 0fbfa75f0e3b822c4f7d13bd331de52a06093a4c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 12 三月 2024 16:21:16 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/App.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zy-asrs-flow/src/App.jsx b/zy-asrs-flow/src/App.jsx index 710730c..9283200 100644 --- a/zy-asrs-flow/src/App.jsx +++ b/zy-asrs-flow/src/App.jsx @@ -86,7 +86,7 @@ export const layout = ({ initialState, setInitialState }) => { const [darkMode, setDarkMode] = React.useState(() => { const storedValue = localStorage.getItem('darkMode'); - return storedValue !== null ? JSON.parse(storedValue) : true; + return storedValue !== null ? JSON.parse(storedValue) : false; }); const [layoutMode, setLayoutMode] = React.useState(() => { -- Gitblit v1.9.1