Skip to content

Commit 2e8f557

Browse files
committed
fix: notif animation.
1 parent f3f8768 commit 2e8f557

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/lib/layout/notifications.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script lang="ts">
2-
import { flip } from 'svelte/animate';
32
import { fly } from 'svelte/transition';
43
import { Layout, Toast } from '@appwrite.io/pink-svelte';
54
import { dismissNotification, notifications } from '../stores/notifications';
@@ -9,7 +8,7 @@
98
<section>
109
<Layout.Stack gap="s">
1110
{#each $notifications as notification (notification.id)}
12-
<span animate:flip={{ duration: 500 }} transition:fly|global={{ x: 50 }}>
11+
<span transition:fly|global={{ x: 50 }}>
1312
<Toast
1413
isHtml={notification.isHtml}
1514
title={notification.title}

0 commit comments

Comments
 (0)