refactor: reorganize component and hook structure; remove unused modules

This commit is contained in:
Slinetrac
2025-12-03 21:21:31 +08:00
parent 4f8ed63cf0
commit 3cf51de850
30 changed files with 130 additions and 226 deletions

View File

@@ -34,7 +34,11 @@ import { useNavigate } from "react-router";
import { delayGroup, healthcheckProxyProvider } from "tauri-plugin-mihomo-api";
import { EnhancedCard } from "@/components/home/enhanced-card";
import { useClashConfig, useProxiesData, useRulesData } from "@/hooks/app-data";
import {
useClashConfig,
useProxiesData,
useRulesData,
} from "@/hooks/use-clash-data";
import { useProfiles } from "@/hooks/use-profiles";
import { useProxySelection } from "@/hooks/use-proxy-selection";
import { useVerge } from "@/hooks/use-verge";