mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 09:18:32 +08:00
refactor: api and command
This commit is contained in:
1 parent
afa56e916e
commit
e76855ad0e
22 files changed
+369
-329
No files matched your search
+2
-2
@@ -1,10 +1,10 @@
|
||||
import useSWR from "swr";
|
||||
import { Box, List, Paper, Typography } from "@mui/material";
|
||||
import services from "../services";
|
||||
import { getProxies } from "../services/api";
|
||||
import ProxyGroup from "../components/proxy-group";
|
||||
|
||||
const ProxyPage = () => {
|
||||
const { data } = useSWR("getProxies", services.getProxies);
|
||||
const { data } = useSWR("getProxies", getProxies);
|
||||
const { groups = [] } = data ?? {};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user