feat: add loading spinners when ssr is off
This commit is contained in:
1 parent
b748740832
commit
ff52be7f34
2 files changed
+110
No files matched your search
@@ -55,6 +55,7 @@
|
||||
.addEventListener('change', (event) => {
|
||||
darkTheme = inDarkTheme()
|
||||
})
|
||||
document.body.querySelector('.loader')?.classList.add('hidden')
|
||||
}
|
||||
})
|
||||
$: title = routes[($page.route.id as keyof typeof routes) ?? '']
|
||||
|
||||
Reference in new issue
Block a user