Skip to content

Commit 9b0ea7f

Browse files
authored
Merge pull request #2827 from appwrite/fix-notifications
Fix: notif animation
2 parents f3f8768 + 2e8f557 commit 9b0ea7f

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)