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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.6.1250",
3
+ "version": "1.6.1252",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -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 (setDefaultAccount?.response?.status === 207) {
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(() => {