diff --git a/frontend/src/FirstRun/AuthenticationRequiredModalContent.tsx b/frontend/src/FirstRun/AuthenticationRequiredModalContent.tsx index 09f66d3812..84aefb1354 100644 --- a/frontend/src/FirstRun/AuthenticationRequiredModalContent.tsx +++ b/frontend/src/FirstRun/AuthenticationRequiredModalContent.tsx @@ -54,7 +54,7 @@ export default function AuthenticationRequiredModalContent() { dispatch(fetchGeneralSettings()); return () => { - dispatch(clearPendingChanges()); + dispatch(clearPendingChanges({ section: \`settings.\${SECTION}\` })); }; }, [dispatch]);