From b7d7968009017c533c98047a001937b52fc84138 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Wed, 16 Dec 2020 15:31:20 +0100 Subject: [PATCH] add back accidently removed line of code --- packages/builder/src/components/start/CreateAppModal.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index 184eaeb2d6..b88397b6c4 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -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) {