Fix config sidebar button state (#602)

This commit is contained in:
philon-
2025-05-04 21:28:47 +02:00
committed by GitHub
parent ebc386cfa5
commit 3be528d03a

View File

@@ -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 = () => {
/>
</SidebarSection>
</Sidebar>
), [])
),
[activeConfigSection],
);
return (
<>
<PageLayout
contentClassName="overflow-auto"
leftBar={leftSidebar}