diff --git a/frontend/src/FirstRun/AuthenticationRequiredModalContent.tsx b/frontend/src/FirstRun/AuthenticationRequiredModalContent.tsx index 092406aaf..710b9b8ab 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]);