From 3be528d03a78758577e7749fa8d8ebb9576d7a08 Mon Sep 17 00:00:00 2001 From: philon- Date: Sun, 4 May 2025 21:28:47 +0200 Subject: [PATCH] Fix config sidebar button state (#602) --- src/pages/Config/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/Config/index.tsx b/src/pages/Config/index.tsx index bf7a82ab..1a81f0c3 100644 --- a/src/pages/Config/index.tsx +++ b/src/pages/Config/index.tsx @@ -51,14 +51,12 @@ const ConfigPage = () => { description: `The configuration change ${moduleConfig.payloadVariant.case} has been saved.`, }) - ) ), ); setIsSaving(false); } await connection?.commitEditSettings(); - } catch (_error) { toast({ title: "Error Saving Config", @@ -87,11 +85,12 @@ const ConfigPage = () => { /> - ), []) + ), + [activeConfigSection], + ); return ( <> -