diff --git a/components/chat/navbar.tsx b/components/chat/navbar.tsx index bf82cf9..8bad226 100644 --- a/components/chat/navbar.tsx +++ b/components/chat/navbar.tsx @@ -70,12 +70,7 @@ function MenuMobile({ user, children }: { user: Claims; children?: React.ReactNo - {children && ( -
  • - {children} - -
  • - )} + {children &&
  • {children}
  • }
  • ((props, ref) => { +const ShareButton = React.forwardRef((props, ref) => { const { disabled, className, ...rest } = props; return ( - <> - - + + + {/** As collapsible navbar link (mobile) */} + +
    + + Share Chat +
    + + + + + ); });