diff --git a/src/components/Community/Section/index.tsx b/src/components/Community/Section/index.tsx index 04cc895392..52ae6c5d47 100644 --- a/src/components/Community/Section/index.tsx +++ b/src/components/Community/Section/index.tsx @@ -89,7 +89,9 @@ const Section: React.FC = ({ {background && } {isTablet ? ( - {children} + ) : ( children )} diff --git a/src/components/Documentation/Layout/SidebarMenu/index.tsx b/src/components/Documentation/Layout/SidebarMenu/index.tsx index 0a835e742a..a044f6467e 100644 --- a/src/components/Documentation/Layout/SidebarMenu/index.tsx +++ b/src/components/Documentation/Layout/SidebarMenu/index.tsx @@ -99,16 +99,18 @@ const SidebarMenuItem: React.FC = ({ <> {parentElement} {children && ( - - {children.map(item => ( - - ))} - + )} ) diff --git a/src/components/Home/UseCases/CollapsibleText/index.tsx b/src/components/Home/UseCases/CollapsibleText/index.tsx index 71091664e3..0e11146e9d 100644 --- a/src/components/Home/UseCases/CollapsibleText/index.tsx +++ b/src/components/Home/UseCases/CollapsibleText/index.tsx @@ -31,7 +31,9 @@ const CollapsibleText: React.FC = ({ tabIndex={0} > {header} - {children} + {!isOpened &&
More...
} )