@pelcro/react-pelcro-js 3.10.0 → 3.10.1-beta.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/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10530,10 +10530,10 @@ const showInvoiceDetailsFromUrl = () => {
|
|
|
10530
10530
|
const {
|
|
10531
10531
|
isAuthenticated,
|
|
10532
10532
|
setInvoice,
|
|
10533
|
-
|
|
10533
|
+
whenUserReady,
|
|
10534
10534
|
switchView
|
|
10535
10535
|
} = usePelcro.getStore();
|
|
10536
|
-
|
|
10536
|
+
whenUserReady(() => {
|
|
10537
10537
|
if (!isAuthenticated()) {
|
|
10538
10538
|
return switchView("login");
|
|
10539
10539
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -10500,10 +10500,10 @@ const showInvoiceDetailsFromUrl = () => {
|
|
|
10500
10500
|
const {
|
|
10501
10501
|
isAuthenticated,
|
|
10502
10502
|
setInvoice,
|
|
10503
|
-
|
|
10503
|
+
whenUserReady,
|
|
10504
10504
|
switchView
|
|
10505
10505
|
} = usePelcro.getStore();
|
|
10506
|
-
|
|
10506
|
+
whenUserReady(() => {
|
|
10507
10507
|
if (!isAuthenticated()) {
|
|
10508
10508
|
return switchView("login");
|
|
10509
10509
|
}
|