Browse Source

refac: do not wait for update check

Timothy J. Baek 7 tháng trước cách đây
mục cha
commit
44d768ecf3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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();