diff --git a/src/components/proxy/proxy-groups.tsx b/src/components/proxy/proxy-groups.tsx index 6e0b7cbf022db6c1bf309a49ddb08edb4ea3aaa8..c3cb26bb525fa0870037508ca3089fe90e74f8f6 100644 --- a/src/components/proxy/proxy-groups.tsx +++ b/src/components/proxy/proxy-groups.tsx @@ -12,6 +12,7 @@ import { useVerge } from "@/hooks/use-verge"; import { useRenderList } from "./use-render-list"; import { ProxyRender } from "./proxy-render"; import delayManager from "@/services/delay"; +import { BaseEmpty } from "../base"; interface Props { mode: string; @@ -103,6 +104,10 @@ export const ProxyGroups = (props: Props) => { } }; + if (mode === "direct") { + return <BaseEmpty text="Direct Mode" />; + } + return ( <Virtuoso ref={virtuosoRef}