mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-21 19:52:12 +08:00
refactor: migrate query cache to swr
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
|
||||
import { getNetworkInterfacesInfo } from '@/services/cmds'
|
||||
import { useQuery } from '@/services/query-client'
|
||||
|
||||
export const useNetworkInterfaces = () => {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user