mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-05 05:50:04 +08:00
refactor(ip-info-card): make ip info card much better (#6226)
* perf(ip-info-card): make ip info card much better * fix(ip-info-card): remove unused useEffect deps * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * refactor(ip-info-card): use `async-retry`, bail out non-2XX resp * feat(ip-info-card): add new backend * feat(ip-info-card): only revalidate when window is visible * perf(ip-info-card): reduce re-renders when window is hidden * fix(ip-info-card): remove `mutate` from `useEffect` arg * Update src/components/home/ip-info-card.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: drop AbortSignal.timeout for old safati compat --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
"axios": "^1.13.3",
|
||||
"dayjs": "1.11.19",
|
||||
"foxact": "^0.2.52",
|
||||
"foxts": "^5.2.1",
|
||||
"i18next": "^25.8.0",
|
||||
"ipaddr.js": "^2.3.0",
|
||||
"js-yaml": "^4.1.1",
|
||||
|
||||
Reference in New Issue
Block a user