Skip to content

Commit

Permalink
force theme name change
Browse files Browse the repository at this point in the history
  • Loading branch information
refact0r committed Feb 1, 2023
1 parent 115c4de commit 9cd3ef9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
let spinning = false
onMount(async () => {
if ($settings.theme === 'dark') {
$settings.theme = 'night'
}
if (data.user) {
console.log('load')
await load()
Expand Down

0 comments on commit 9cd3ef9

Please sign in to comment.