diff --git a/src/store.ts b/src/store.ts index db96ec52..82fb9776 100644 --- a/src/store.ts +++ b/src/store.ts @@ -54,7 +54,11 @@ const fetchAndSetChannels = async (): Promise => { } const fetchAndSetStamps = async (): Promise => { - const stamps = (await apis.getStamps()).data + const [originalRes, unicodeRes] = await Promise.all([ + apis.getStamps(undefined, 'original'), + apis.getStamps(undefined, 'unicode') + ]) + const stamps = [...originalRes.data, ...unicodeRes.data] const stampNameMap = new Map(stamps.map(s => [s.name, s])) await set('stampNameMap', stampNameMap, store) } diff --git a/tsconfig.json b/tsconfig.json index 2da1deca..9cb3247b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,6 @@ "lib": ["es2018", "dom"], "types": ["vite/client"], "rootDir": "./src", - "importHelpers": true, "strict": true, "noUnusedLocals": true, "noUnusedParameters": true,