diff --git a/src/views/catalog/CatalogView.tsx b/src/views/catalog/CatalogView.tsx index cbe8faab..4ee80c6a 100644 --- a/src/views/catalog/CatalogView.tsx +++ b/src/views/catalog/CatalogView.tsx @@ -93,10 +93,10 @@ export const CatalogView: FC = props => setIsVisible(false) } /> - { root && root.children.length && root.children.map(page => + { root && root.children.length && root.children.map((page, index) => { return ( - setCurrentTab(page) }> + setCurrentTab(page) }> { page.localization } ); diff --git a/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx b/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx index 32d5e54d..32a8ec30 100644 --- a/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx +++ b/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx @@ -35,11 +35,11 @@ export const CatalogNavigationSetView: FC = props return (
- { page && (page.children.length > 0) && page.children.map(page => + { page && (page.children.length > 0) && page.children.map((page, index) => { if(!page.visible) return null; - return + return }) }
);