From fbfe3256c8eb16a7b5d7cc26909e88064cc0ec11 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 29 May 2026 14:32:11 +0800 Subject: [PATCH] refactor: unify admin settings toolbar --- .../_components/admin-settings-navigation.tsx | 37 ++++++------------- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/app/(admin)/settings/_components/admin-settings-navigation.tsx b/app/(admin)/settings/_components/admin-settings-navigation.tsx index 601ff24bb..ce6465a57 100644 --- a/app/(admin)/settings/_components/admin-settings-navigation.tsx +++ b/app/(admin)/settings/_components/admin-settings-navigation.tsx @@ -246,12 +246,6 @@ export function AdminSettingsNavigation({ - {activeItem ? ( -

- {activeItem.description} -

- ) : null} -
{(activeGroup?.items ?? []).map((item) => (
-
-
+
+
{ADMIN_SETTINGS_NAV_GROUPS.map((group) => ( ))} -
- + -
-
- {(activeGroup?.items ?? []).map((item) => ( - - ))} -
- {activeItem ? ( -

- {activeItem.description} -

- ) : null} + {(activeGroup?.items ?? []).map((item) => ( + + ))}