Change theme wasnt necessary
This commit is contained in:
parent
61a02649cf
commit
dfc4e5dfd6
1 changed files with 0 additions and 9 deletions
|
|
@ -1,9 +0,0 @@
|
||||||
import { useTheme } from 'next-themes'
|
|
||||||
import { accountState } from '~utils/accountState'
|
|
||||||
|
|
||||||
export default function changeTheme() {
|
|
||||||
const { theme, setTheme } = useTheme()
|
|
||||||
if (accountState.account.user) {
|
|
||||||
setTheme(accountState.account.user.theme)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue