Merge pull request #1 from Yidadaa/main

This commit is contained in:
DirkSchlossmacher
2023-07-02 19:56:40 +02:00
committed by GitHub
6 changed files with 48 additions and 11 deletions

View File

@@ -81,8 +81,7 @@ export const useUpdateStore = create<UpdateStore>()(
set(() => ({ version }));
const shouldCheck =
Date.now() - get().lastUpdate > 24 * 60 * ONE_MINUTE;
const shouldCheck = Date.now() - get().lastUpdate > 2 * 60 * ONE_MINUTE;
if (!force && !shouldCheck) return;
set(() => ({