@asgardeo/react 0.5.26 → 0.5.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1719,7 +1719,7 @@ var AsgardeoProvider = ({
1719
1719
  {
1720
1720
  inheritFromBranding: preferences?.theme?.inheritFromBranding,
1721
1721
  theme: preferences?.theme?.overrides,
1722
- mode: getActiveTheme(preferences.theme.mode),
1722
+ mode: getActiveTheme(preferences?.theme?.mode),
1723
1723
  children: /* @__PURE__ */ jsx7(FlowProvider_default, { children: /* @__PURE__ */ jsx7(UserProvider_default, { profile: userProfile, onUpdateProfile: handleProfileUpdate, children: /* @__PURE__ */ jsx7(
1724
1724
  OrganizationProvider_default,
1725
1725
  {