mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-26 15:29:57 +08:00
refactor: migrate query cache to swr
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
import { useLockFn } from 'ahooks'
|
||||
import { getVersion } from 'tauri-plugin-mihomo-api'
|
||||
|
||||
@@ -8,6 +7,7 @@ import {
|
||||
getRuntimeConfig,
|
||||
patchClashConfig,
|
||||
} from '@/services/cmds'
|
||||
import { useQuery } from '@/services/query-client'
|
||||
import { queryClient } from '@/services/query-client'
|
||||
|
||||
type MutateClashUpdater =
|
||||
|
||||
Reference in New Issue
Block a user