authscape 1.0.432 → 1.0.434
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/index.js +2 -1
- package/package.json +1 -1
- package/src/components/AuthScapeApp.js +2 -2
package/index.js
CHANGED
|
@@ -204,7 +204,8 @@ function AuthScapeApp(_ref) {
|
|
|
204
204
|
}, frontEndLoadedState != null && frontEndLoadedState && pathname != "/signin-oidc" && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, layout != null && layout({
|
|
205
205
|
children: /*#__PURE__*/_react["default"].createElement(Component, _extends({}, pageProps, {
|
|
206
206
|
currentUser: signedInUser.current,
|
|
207
|
-
toast: _reactToastify.toast
|
|
207
|
+
toast: _reactToastify.toast,
|
|
208
|
+
setIsLoading: setIsLoading
|
|
208
209
|
})),
|
|
209
210
|
currentUser: signedInUser.current
|
|
210
211
|
}), layout == null && /*#__PURE__*/_react["default"].createElement(Component, _extends({}, pageProps, {
|
package/package.json
CHANGED
|
@@ -165,7 +165,7 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
|
|
|
165
165
|
{frontEndLoadedState != null && frontEndLoadedState && pathname != "/signin-oidc" &&
|
|
166
166
|
<>
|
|
167
167
|
{layout != null && layout({
|
|
168
|
-
children: <Component {...pageProps} currentUser={signedInUser.current} toast={toast} />,
|
|
168
|
+
children: <Component {...pageProps} currentUser={signedInUser.current} toast={toast} setIsLoading={setIsLoading} />,
|
|
169
169
|
currentUser: signedInUser.current
|
|
170
170
|
})}
|
|
171
171
|
|
|
@@ -183,7 +183,7 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
|
|
|
183
183
|
{loadingLayout(isLoadingShow)}
|
|
184
184
|
</>
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
|
|
187
187
|
{(frontEndLoaded.current && process.env.microsoftClarityTrackingCode != null && process.env.staging == "production") &&
|
|
188
188
|
<script
|
|
189
189
|
dangerouslySetInnerHTML={{
|