diff --git a/src/App.tsx b/src/App.tsx index 6572f0756..a73fa88ff 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,6 @@ import { useEffect, useMemo, useState, useRef } from "react"; import { useTranslation } from "react-i18next"; +import { motion, AnimatePresence } from "framer-motion"; import { toast } from "sonner"; import { invoke } from "@tauri-apps/api/core"; import { useQueryClient } from "@tanstack/react-query"; @@ -334,23 +335,32 @@ function App() {
{/* 独立滚动容器 - 解决 Linux/Ubuntu 下 DndContext 与滚轮事件冲突 */}
-
- setIsAddOpen(true)} - /> -
+ + + setIsAddOpen(true)} + /> + +
); diff --git a/src/components/providers/ProviderList.tsx b/src/components/providers/ProviderList.tsx index 748c8a930..f99579130 100644 --- a/src/components/providers/ProviderList.tsx +++ b/src/components/providers/ProviderList.tsx @@ -83,10 +83,7 @@ export function ProviderList({ items={sortedProviders.map((provider) => provider.id)} strategy={verticalListSortingStrategy} > -
+
{sortedProviders.map((provider) => (