From a99b6a60878c00ea898e28394763d973bfaeeb66 Mon Sep 17 00:00:00 2001 From: Willie Date: Thu, 19 Mar 2026 22:15:51 +0800 Subject: [PATCH] fix(ui): use PageSkeleton for uninstall page loading state Replace custom Loader2 spinner with PageSkeleton to match the loading pattern used by all other pages. --- ui/src/pages/BatchUninstallPage.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ui/src/pages/BatchUninstallPage.tsx b/ui/src/pages/BatchUninstallPage.tsx index 6234d2252..0baada938 100644 --- a/ui/src/pages/BatchUninstallPage.tsx +++ b/ui/src/pages/BatchUninstallPage.tsx @@ -28,6 +28,7 @@ import ConfirmDialog from '../components/ConfirmDialog'; import { Input, Select } from '../components/Input'; import { Checkbox } from '../components/Checkbox'; import { useToast } from '../components/Toast'; +import { PageSkeleton } from '../components/Skeleton'; import { radius } from '../design'; /* ── Glob → Regex (supports * and ? only) ──────────── */ @@ -263,16 +264,7 @@ export default function BatchUninstallPage() { // ── Render ─────────────────────────────────────────── - if (isPending) { - return ( -
- } /> -
- Loading skills… -
-
- ); - } + if (isPending) return ; if (skills.length === 0) { return (