Skip to content
Snippets Groups Projects
Unverified Commit 954e3553 authored by GyDi's avatar GyDi
Browse files

fix: proxy page first render

parent cde17385
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ const ProxyPage = () => {
const { data: clashConfig } = useSWR("getClashConfig", getClashConfig);
const modeList = ["rule", "global", "direct"];
const curMode = clashConfig?.mode.toLowerCase() ?? "direct";
const curMode = clashConfig?.mode.toLowerCase();
const { groups = [], proxies = [] } = proxiesData ?? {};
// make sure that fetch the proxies successfully
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment