diff --git a/packages/core/src/App/AppContent.tsx b/packages/core/src/App/AppContent.tsx index 89eee7d3fc94..08421a019003 100644 --- a/packages/core/src/App/AppContent.tsx +++ b/packages/core/src/App/AppContent.tsx @@ -45,7 +45,7 @@ const AppContent: React.FC<{ passthrough: unknown }> = observer(({ passthrough } logout, email, setIsPasskeySupported, - account_settings, + account_settings = {}, setIsPhoneNumberVerificationEnabled, setIsCountryCodeDropdownEnabled, accounts, diff --git a/packages/core/src/Stores/client-store.js b/packages/core/src/Stores/client-store.js index e28d99be31b1..059491b23b9b 100644 --- a/packages/core/src/Stores/client-store.js +++ b/packages/core/src/Stores/client-store.js @@ -1129,7 +1129,7 @@ export default class ClientStore extends BaseStore { landing_company_shortcode, currency, residence, - account_settings, + account_settings = {}, preferred_language, user_id, } = this;