Idk go fuck yourself

This commit is contained in:
VityaSchel
2023-10-02 21:45:16 +04:00
parent 2d867fab2a
commit 9bb6a67b3a
2 changed files with 4 additions and 7 deletions

View File

@@ -21,12 +21,10 @@ export function NavBar() {
}
React.useEffect(() => {
console.log(resolvedTheme, getSchemeTheme())
setSchemeTheme(getSchemeTheme())
}, [])
const theme = resolvedTheme || schemeTheme
console.log('theme', theme, cx('rounded-lg p-2 w-full flex justify-between', { 'bg-slate-200': theme === 'light', 'bg-slate-900': theme === 'dark' }))
React.useEffect(() => {
if(theme === 'light') {