@asgardeo/react 0.24.2 → 0.25.1
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2348,7 +2348,7 @@ var AsgardeoProvider = ({
|
|
|
2348
2348
|
if (config.platform === Platform4.AsgardeoV2) {
|
|
2349
2349
|
return;
|
|
2350
2350
|
}
|
|
2351
|
-
const shouldFetchBranding = preferences?.theme?.inheritFromBranding
|
|
2351
|
+
const shouldFetchBranding = preferences?.theme?.inheritFromBranding === true;
|
|
2352
2352
|
if (shouldFetchBranding && isInitializedSync && baseUrl && !hasFetchedBranding && !isBrandingLoading) {
|
|
2353
2353
|
fetchBranding();
|
|
2354
2354
|
}
|
|
@@ -2539,7 +2539,7 @@ var AsgardeoProvider = ({
|
|
|
2539
2539
|
brandingPreference,
|
|
2540
2540
|
isLoading: isBrandingLoading,
|
|
2541
2541
|
error: brandingError,
|
|
2542
|
-
enabled: preferences?.theme?.inheritFromBranding
|
|
2542
|
+
enabled: preferences?.theme?.inheritFromBranding === true,
|
|
2543
2543
|
refetch: refetchBranding,
|
|
2544
2544
|
children: /* @__PURE__ */ jsx11(
|
|
2545
2545
|
ThemeProvider_default3,
|