fix: move pages animation to onMount

This commit is contained in:
2024-11-12 15:10:18 +01:00
parent d9708c5bfe
commit 54682c6886
7 changed files with 90 additions and 80 deletions

View File

@@ -2,6 +2,7 @@
<script lang="ts">
import { navigating } from '$app/stores'
import { onMount } from 'svelte'
import { stagger, timeline } from 'motion'
import { DELAY } from '$utils/constants'
import { quartOut } from '$animations/easings'
@@ -17,7 +18,7 @@
const latestIssue = $derived(data.issues[0])
$effect(() => {
onMount(() => {
/**
* Animations
*/