Bläddra i källkod

refac: do not wait for update check

Timothy J. Baek 7 månader sedan
förälder
incheckning
44d768ecf3
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/routes/(app)/+layout.svelte

+ 2 - 2
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();