Repository navigation
Commit 7ac1a24
committed
Remove last checked time throttling from update check hook
- Modify use_update_check.ts to bypass the 5-minute cooldown and force a new network request to the GitHub API every time the hook becomes active.
├── apps
│ └── editor
│ └── src
│ └── views
│ └── prompt
│ └── frontend
│ ├── Home
│ │ ├── Home.tsx
│ │ └── hooks
│ │ └── use-update-check.ts
│ ├── Prompt.tsx
│ └── i18n
│ └── translations
│ ├── home.ts
│ └── index.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt-view
└── UpdateAvailable
├── UpdateAvailable.module.scss
├── UpdateAvailable.tsx
└── index.ts1 parent f9a185d commit 7ac1a24
1 file changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 35 | | |
48 | 36 | | |
49 | 37 | | |
| |||
0 commit comments