refactor: proxy head

This commit is contained in:
GyDi
2022-04-08 01:35:18 +08:00
parent 451afdb660
commit 453d798fcf
4 changed files with 186 additions and 81 deletions

View File

@@ -42,9 +42,8 @@ const ProxyGroup = ({ group }: Props) => {
const [showFilter, setShowFilter] = useState(false);
const [filterText, setFilterText] = useState("");
const proxies = group.all ?? [];
const virtuosoRef = useRef<any>();
const filterProxies = useFilterProxy(proxies, group.name, filterText);
const filterProxies = useFilterProxy(group.all, group.name, filterText);
const { data: profiles } = useSWR("getProfiles", getProfiles);