소스 검색

refac: do not wait for update check

Timothy J. Baek 7 달 전
부모
커밋
44d768ecf3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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();