mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 09:18:32 +08:00
feat: record selected proxy
This commit is contained in:
1 parent
25978bde8e
commit
96eca59afc
4 files changed
+69
-11
No files matched your search
+2
-2
@@ -4,8 +4,8 @@ import { getProxies } from "../services/api";
|
||||
import ProxyGroup from "../components/proxy-group";
|
||||
|
||||
const ProxyPage = () => {
|
||||
const { data } = useSWR("getProxies", getProxies);
|
||||
const { groups = [] } = data ?? {};
|
||||
const { data: proxiesData } = useSWR("getProxies", getProxies);
|
||||
const { groups = [] } = proxiesData ?? {};
|
||||
|
||||
return (
|
||||
<Box sx={{ width: 0.9, maxWidth: "850px", mx: "auto", mb: 2 }}>
|
||||
|
||||
Reference in new issue
Block a user