rewrote the Anime.svelte to move out helper functions and clean up code

This commit is contained in:
2024-09-05 15:29:42 -04:00
parent aeec8f79b2
commit 77e361b5b2
20 changed files with 616 additions and 473 deletions

View File

@ -112,6 +112,7 @@
'/anime/:id': wrap({
asyncComponent: () => import('./routes/Anime.svelte'),
conditions: [
() => $aniListLoggedIn,
async (detail) => {
await GetAniListSingleItem(Number(detail.params.id), true)
return Object.keys($aniListAnime).length!==0