Change theme wasnt necessary

This commit is contained in:
Justin Edmund 2022-12-25 20:12:07 -08:00
parent 61a02649cf
commit dfc4e5dfd6

View file

@ -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)
}
}