l-min-components 1.6.1250 → 1.6.1252
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/package.json
CHANGED
|
@@ -117,7 +117,11 @@ const AppMainLayout = ({ children }) => {
|
|
|
117
117
|
// if request status === 207, push to acct type page
|
|
118
118
|
useEffect(() => {
|
|
119
119
|
if (setDefaultAccount?.data) {
|
|
120
|
-
if (
|
|
120
|
+
if (
|
|
121
|
+
setDefaultAccount?.response?.status === 207 &&
|
|
122
|
+
(!window.location.host.includes("staging") &&
|
|
123
|
+
!window.location.host.includes("local"))
|
|
124
|
+
) {
|
|
121
125
|
window.location.href = "/auth/account-type";
|
|
122
126
|
} else {
|
|
123
127
|
setTimeout(() => {
|