fix: move pages animation to onMount
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user