Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
fix: auto-update latency test results in UI without requiring any click
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Feb 2, 2025
1 parent 77b6784 commit 35c239e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/src/hooks/use-groups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const GroupsContext = createContext<GroupsContextType | undefined>(undefined)
export const GroupsProvider: React.FC<{ children: ReactNode }> = ({ children }) => {
const { data: groups, mutate } = useSWR<IMihomoMixedGroup[]>('mihomoGroups', mihomoGroups, {
errorRetryInterval: 200,
errorRetryCount: 10
errorRetryCount: 10,
refreshInterval: 1000
})

React.useEffect(() => {
Expand Down

0 comments on commit 35c239e

Please sign in to comment.