From 44d768ecf3b53055fa249bf9a7031f80b93d5887 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 27 Sep 2024 14:41:29 +0200 Subject: [PATCH] refac: do not wait for update check --- src/routes/(app)/+layout.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index ad2f085cf..83a53dffd 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -206,10 +206,10 @@ const now = new Date(); if (now - dismissedUpdateToast > 24 * 60 * 60 * 1000) { - await checkForVersionUpdates(); + checkForVersionUpdates(); } } else { - await checkForVersionUpdates(); + checkForVersionUpdates(); } } await tick();