diff --git a/packages/main/src/components/SideNavigationListItem/index.tsx b/packages/main/src/components/SideNavigationListItem/index.tsx index 756cac510bb..a248af61d03 100644 --- a/packages/main/src/components/SideNavigationListItem/index.tsx +++ b/packages/main/src/components/SideNavigationListItem/index.tsx @@ -91,13 +91,11 @@ const SideNavigationListItem: FC = forwardRef( return ( <> - {/* - // @ts-ignore */} = forwardRef( openBy={} > - {/* - // @ts-ignore */} - + {text} {validChildren.map((child: any, index) => { return ( - // @ts-ignore {child.props.text} diff --git a/packages/main/src/internal/withWebComponent.tsx b/packages/main/src/internal/withWebComponent.tsx index ec5e93b7ffc..70e94e42dbb 100644 --- a/packages/main/src/internal/withWebComponent.tsx +++ b/packages/main/src/internal/withWebComponent.tsx @@ -211,9 +211,9 @@ export function withWebComponent(WebComponent): RefForwardingComponent + {Object.keys(slots).map((slot) => { if (actualSlotProps[slot]) { return Children.map(actualSlotProps[slot], (item: ReactElement, index) =>