authscape 1.0.450 → 1.0.452
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 +0 -2
- package/package.json +1 -1
- package/src/components/AuthScapeApp.js +2 -2
package/index.js
CHANGED
|
@@ -329,7 +329,6 @@ function AuthScapeApp(_ref) {
|
|
|
329
329
|
}, frontEndLoadedState != null && frontEndLoadedState && pathname != "/signin-oidc" && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, layout != null && layout({
|
|
330
330
|
children: /*#__PURE__*/_react["default"].createElement(Component, _extends({}, pageProps, {
|
|
331
331
|
currentUser: signedInUser.current,
|
|
332
|
-
toast: _reactToastify.toast,
|
|
333
332
|
loadedUser: frontEndLoadedState,
|
|
334
333
|
setIsLoading: setIsLoading,
|
|
335
334
|
logEvent: logEvent,
|
|
@@ -345,7 +344,6 @@ function AuthScapeApp(_ref) {
|
|
|
345
344
|
setToastMessage: setToastMessage
|
|
346
345
|
}), layout == null && /*#__PURE__*/_react["default"].createElement(Component, _extends({}, pageProps, {
|
|
347
346
|
currentUser: signedInUser.current,
|
|
348
|
-
toast: _reactToastify.toast,
|
|
349
347
|
loadedUser: frontEndLoadedState,
|
|
350
348
|
setIsLoading: setIsLoading,
|
|
351
349
|
logEvent: logEvent,
|
package/package.json
CHANGED
|
@@ -304,7 +304,7 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
|
|
|
304
304
|
{frontEndLoadedState != null && frontEndLoadedState && pathname != "/signin-oidc" &&
|
|
305
305
|
<>
|
|
306
306
|
{layout != null && layout({
|
|
307
|
-
children: <Component {...pageProps} currentUser={signedInUser.current}
|
|
307
|
+
children: <Component {...pageProps} currentUser={signedInUser.current} loadedUser={frontEndLoadedState} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} store={useStore} setToastMessage={setToastMessage} />,
|
|
308
308
|
currentUser: signedInUser.current,
|
|
309
309
|
logEvent: logEvent,
|
|
310
310
|
setIsLoading: setIsLoading,
|
|
@@ -314,7 +314,7 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
|
|
|
314
314
|
})}
|
|
315
315
|
|
|
316
316
|
{layout == null &&
|
|
317
|
-
<Component {...pageProps} currentUser={signedInUser.current}
|
|
317
|
+
<Component {...pageProps} currentUser={signedInUser.current} loadedUser={frontEndLoadedState} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} store={useStore} setToastMessage={setToastMessage} />
|
|
318
318
|
}
|
|
319
319
|
</>
|
|
320
320
|
}
|