1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

add back accidently removed line of code

This commit is contained in:
kevmodrome 2020-12-16 15:31:20 +01:00
parent a9aa68c7bf
commit 52e826e4ec
No known key found for this signature in database
GPG key ID: 828D8FE4D235B551

View file

@ -27,6 +27,7 @@
// make sure we only fetch once, unless API Key is changed
if (isApiKeyValid === undefined || apiKey !== lastApiKey) {
lastApiKey = apiKey
// svelte reactivity was causing a requst to get fired mutiple times
// so, we make everything await the same promise, if one exists
if (!fetchApiKeyPromise) {