diff --git a/src/App.tsx b/src/App.tsx
index 21d8b0ad2..db2abe7d2 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -111,15 +111,6 @@ function App() {
const currentProviderId = data?.currentProviderId ?? "";
const hasSkillsSupport = true;
- const refreshSkillsData = async () => {
- try {
- await queryClient.invalidateQueries({ queryKey: ["skills"] });
- await queryClient.refetchQueries({ queryKey: ["skills"], type: "active" });
- } catch (error) {
- console.error("[App] Failed to refresh skills data", error);
- }
- };
-
// 🎯 使用 useProviderActions Hook 统一管理所有 Provider 操作
const {
addProvider,
@@ -656,26 +647,15 @@ function App() {
)}
{currentView === "skills" && (
- <>
-
-
- >
+
)}
{currentView === "skillsDiscovery" && (
<>