This commit is contained in:
User
2025-01-11 13:07:32 -05:00
parent 721192fce7
commit 3f282d6ecd
12 changed files with 215 additions and 47 deletions

View File

@@ -35,8 +35,7 @@ export default function AppLayout({ auth, header, children, toolbar }) {
const [theme, setTheme] = useState(getTheme());
useEffect(() => {
getTheme();
setTheme(theme);
setTheme(getTheme());
}, []);
return (