0.1.2
This commit is contained in:
@@ -35,8 +35,7 @@ export default function AppLayout({ auth, header, children, toolbar }) {
|
||||
const [theme, setTheme] = useState(getTheme());
|
||||
|
||||
useEffect(() => {
|
||||
getTheme();
|
||||
setTheme(theme);
|
||||
setTheme(getTheme());
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user