Remove unused code and update packages
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
export let data: PageData
|
||||
|
||||
let innerHeight: number
|
||||
$: innerHeight && document.body.style.setProperty('--vh', `${innerHeight}px`)
|
||||
|
||||
// Fonts to preload
|
||||
const fonts = [
|
||||
@@ -59,8 +60,6 @@
|
||||
// Avoid FOUC
|
||||
document.body.style.opacity = '1'
|
||||
})
|
||||
|
||||
$: innerHeight && document.body.style.setProperty('--vh', `${innerHeight}px`)
|
||||
</script>
|
||||
|
||||
<svelte:window bind:innerHeight />
|
||||
|
||||
Reference in New Issue
Block a user