aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-11-29 16:40:22 -0800
committerFuwn <[email protected]>2023-11-29 16:40:22 -0800
commitd22079b4881dcd75d90f8040e77c7d83c789bf3c (patch)
treef7a3730cc5d74e3f5e5949f1894cfc6e7a8d8f41 /src/lib/Tools
parentfeat(media): use common interface for objects (diff)
downloaddue.moe-d22079b4881dcd75d90f8040e77c7d83c789bf3c.tar.xz
due.moe-d22079b4881dcd75d90f8040e77c7d83c789bf3c.zip
fix(sequel_spy): default value
Diffstat (limited to 'src/lib/Tools')
-rw-r--r--src/lib/Tools/SequelSpy.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index 838e8520..755160a4 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -5,7 +5,7 @@
export let user: AniListAuthorisation;
- let currentPrequels: Promise<MediaPrequel[]> = [];
+ let currentPrequels: Promise<MediaPrequel[]> = Promise.resolve([]) as Promise<MediaPrequel[]>;
let year = new Date().getFullYear();
let season = (() => {
if (new Date().getMonth() >= 0 && new Date().getMonth() <= 2) {