diff options
Diffstat (limited to 'src/lib/List/Due')
| -rw-r--r-- | src/lib/List/Due/AnimeList.svelte | 16 | ||||
| -rw-r--r-- | src/lib/List/Due/MangaList.svelte | 17 |
2 files changed, 4 insertions, 29 deletions
diff --git a/src/lib/List/Due/AnimeList.svelte b/src/lib/List/Due/AnimeList.svelte index 6d1b7457..69115bd4 100644 --- a/src/lib/List/Due/AnimeList.svelte +++ b/src/lib/List/Due/AnimeList.svelte @@ -9,6 +9,7 @@ import lastPruneTimes from '../../../stores/lastPruneTimes'; import { airingTime, cleanCache, totalEpisodes, updateMedia } from '$lib/Media/anime'; import ListTitle from './ListTitle.svelte'; + import Error from '$lib/Error.svelte'; export let user: AniListAuthorisation; export let identity: UserIdentity; @@ -159,18 +160,5 @@ {:catch} <ListTitle time={0} count={'?'} anime /> - <ul> - <li> - <p> - Media could not be loaded. You might have been <a - href="https://en.wikipedia.org/wiki/Rate_limiting" - target="_blank">rate limited</a - >. - </p> - <p> - Try again in a few minutes. If the problem persists, please contact - <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. - </p> - </li> - </ul> + <Error /> {/await} diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte index d7c37d48..b6644374 100644 --- a/src/lib/List/Due/MangaList.svelte +++ b/src/lib/List/Due/MangaList.svelte @@ -8,6 +8,7 @@ import settings from '../../../stores/settings'; import lastPruneTimes from '../../../stores/lastPruneTimes'; import ListTitle from './ListTitle.svelte'; + import Error from '$lib/Error.svelte'; export let user: AniListAuthorisation; export let identity: UserIdentity; @@ -161,22 +162,8 @@ {/each} </ul> {:catch} - <summary>Manga & Light Novels [?] <small style="opacity: 50%">0s</small></summary> <ListTitle count={'?'} time={0} /> - <ul> - <li> - <p> - Media could not be loaded. You might have been <a - href="https://en.wikipedia.org/wiki/Rate_limiting" - target="_blank">rate limited</a - >. - </p> - <p> - Try again in a few minutes. If the problem persists, please contact - <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. - </p> - </li> - </ul> + <Error /> {/await} {/await} |