From 56da24765fd63d028b0dbc858ada19c488d4e088 Mon Sep 17 00:00:00 2001 From: Supra4E8C Date: Sat, 7 Mar 2026 14:22:23 +0800 Subject: [PATCH] perf(config): narrow api key editor store subscription --- src/components/config/VisualConfigEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/config/VisualConfigEditor.tsx b/src/components/config/VisualConfigEditor.tsx index 59bf986..14066bd 100644 --- a/src/components/config/VisualConfigEditor.tsx +++ b/src/components/config/VisualConfigEditor.tsx @@ -104,7 +104,7 @@ function ApiKeysCardEditor({ onChange: (nextValue: string) => void; }) { const { t } = useTranslation(); - const { showNotification } = useNotificationStore(); + const showNotification = useNotificationStore((state) => state.showNotification); const apiKeys = useMemo( () => value