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

fix: direct mode hide proxies

parent c51e9e6b
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
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