mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 21:44:59 +08:00
fix: #2208 use global settings button dose not work
This commit is contained in:
@@ -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(() => ({
|
||||
|
Reference in New Issue
Block a user