diff --git a/src/frontend/context/SettingsContext.js b/src/frontend/context/SettingsContext.js index 952294eff..5abbacffd 100644 --- a/src/frontend/context/SettingsContext.js +++ b/src/frontend/context/SettingsContext.js @@ -52,7 +52,7 @@ export const SettingsProvider = ({ children }: { children: React.Node }) => { const contextValue: SettingsContextType = React.useMemo(() => { // If we add any new properties to the settings state, they will be // undefined in a users' persisted state, so we merge in the defaults - const mergedState = merge({}, state, DEFAULT_SETTINGS); + const mergedState = merge({}, DEFAULT_SETTINGS, state); return [mergedState, setSettings]; }, [state, setSettings]);