rewrote the Anime.svelte to move out helper functions and clean up code
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user