l-min-components 1.7.1356 → 1.7.1358

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.7.1356",
3
+ "version": "1.7.1358",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -317,10 +317,12 @@ const AppMainLayout = ({ children }) => {
317
317
  const [isAffiliateLoading, setIsAffiliateLoading] = useState(true);
318
318
 
319
319
  useEffect(() => {
320
- if (activeAccountType) {
321
- handleGetFileStorageSummary(activeAccountType);
320
+ if (generalData?.selectedAccount?.type) {
321
+ handleGetFileStorageSummary(
322
+ generalData?.selectedAccount?.type?.toLowerCase()
323
+ );
322
324
  }
323
- }, [activeAccountType]);
325
+ }, [generalData?.selectedAccount]);
324
326
 
325
327
  return (
326
328
  <OutletContext.Provider