1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

Fix clearing pending changes for First Run

`TypeError: can't access property "section", a is undefined`
This commit is contained in:
Bogdan
2025-09-10 12:34:31 +03:00
committed by bakerboy448
parent 30fc50e049
commit 6e23750705

View File

@@ -54,7 +54,7 @@ export default function AuthenticationRequiredModalContent() {
dispatch(fetchGeneralSettings());
return () => {
dispatch(clearPendingChanges());
dispatch(clearPendingChanges({ section: \`settings.\${SECTION}\` }));
};
}, [dispatch]);