From bc93c158e0bc202bd901d1d8fe65613cef9ea845 Mon Sep 17 00:00:00 2001 From: preston176 Date: Thu, 11 Jul 2024 12:07:17 +0300 Subject: [PATCH] feat: Update default dark mode setting in App.jsx --- src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index a64d35e..ee16540 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -12,7 +12,8 @@ import SpeechToText from './Pages/SpeechToText'; import Summarize from './Pages/Summarize'; const App = () => { - const [isDarkMode, setIsDarkMode] = useState(true); + // by default : darkMode Enabled + const [isDarkMode, setIsDarkMode] = useState(false); const toggleTheme = () => { setIsDarkMode(!isDarkMode);