diff --git a/src/utils/navigationConfig.tsx b/src/utils/navigationConfig.tsx index 47e6653..e3d8db1 100644 --- a/src/utils/navigationConfig.tsx +++ b/src/utils/navigationConfig.tsx @@ -26,7 +26,6 @@ const generateNavigationConfig = (routePathsConfig: RoutePaths): NavigationConfi // length > 1 means that the page has at least one child menuWithCategories[keyString].children = {}; for (const [arrIndex, page] of valueArr.entries()) { - // @ts-expect-error at this point of the code we are sure that children is defined, but the TS compiler is not able to understand it menuWithCategories[keyString].children[page.path] = { key: arrIndex, label: page.label,