diff options
| author | Fuwn <[email protected]> | 2026-01-22 22:26:53 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-22 22:26:53 -0800 |
| commit | dda52424a3e7a69a01bb745033185429c8d11941 (patch) | |
| tree | 4c64d6784f668cda38c2097060145c189e3165df /src/lib/List/Anime/CompletedAnimeList.svelte | |
| parent | format: Apply Prettier formatting (diff) | |
| download | due.moe-dda52424a3e7a69a01bb745033185429c8d11941.tar.xz due.moe-dda52424a3e7a69a01bb745033185429c8d11941.zip | |
fix(notifications): Replace svelte-notifications with custom store for Svelte 5
Diffstat (limited to 'src/lib/List/Anime/CompletedAnimeList.svelte')
| -rw-r--r-- | src/lib/List/Anime/CompletedAnimeList.svelte | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/List/Anime/CompletedAnimeList.svelte b/src/lib/List/Anime/CompletedAnimeList.svelte index 4245525d..8e914ef6 100644 --- a/src/lib/List/Anime/CompletedAnimeList.svelte +++ b/src/lib/List/Anime/CompletedAnimeList.svelte @@ -6,7 +6,7 @@ import lastPruneTimes from '$stores/lastPruneTimes'; import settings from '$stores/settings'; import AnimeList from './AnimeListTemplate.svelte'; - import { getNotificationsContext } from 'svelte-notifications'; + import { addNotification } from '$lib/Notification/store'; import locale from '$stores/locale'; import identity from '$stores/identity'; import sampleAnime from '$lib/Data/Static/SampleMedia/anime.json'; @@ -19,8 +19,6 @@ }; export let dummy = false; export let disableFilter = false; - - const { addNotification } = getNotificationsContext(); let animeLists: Promise<Media[]>; let startTime: number; let endTime: number; |