From 7e2f68870c9e932a18a4ab1e21f54a7832019b0e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 22 Jun 2021 11:20:21 +0200 Subject: [PATCH] Hm, soemthing is not working --- src/routes/index.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index c775aff3b..597bc14b3 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -40,8 +40,9 @@ password } }); - loading = false; - browser && location.reload(); + setTimeout(() => { + browser && location.reload(); + }, 1000); } catch (error) { loading = false; browser && toast.push(error.error || error || 'Ooops something went wrong.');