diff options
| author | Fuwn <[email protected]> | 2026-05-22 06:41:33 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-22 06:41:33 +0000 |
| commit | 07e6fb4cad540489d44dbd322337d5929eea6b6e (patch) | |
| tree | 7d86e6f772b93a33de01c770dcaefb31d0583fb5 /src/lib/Effect/authCookie.test.ts | |
| parent | fix(settings): send JSON Content-Type on configuration PUTs (diff) | |
| download | due.moe-07e6fb4cad540489d44dbd322337d5929eea6b6e.tar.xz due.moe-07e6fb4cad540489d44dbd322337d5929eea6b6e.zip | |
fix(lists): show placeholder while animeLists is undefined
Before DueAnimeList/UpcomingAnimeList's onMount assigns the promise,
{#await undefined} fell through to {:then media=undefined}, which
cleanMedia turned into an empty array and the list rendered "No anime
to display". The auto-snapshot then captured [] into previousAnimeList,
making every subsequent pending state skip the skeleton. Gate the await
on animeLists being defined so the placeholder shows until the fetch
actually starts.
Diffstat (limited to 'src/lib/Effect/authCookie.test.ts')
0 files changed, 0 insertions, 0 deletions