diff --git a/frontend/src/Editor/LeftSidebar/sidebar-item.js b/frontend/src/Editor/LeftSidebar/sidebar-item.js index 72b1459b51..bb170278c1 100644 --- a/frontend/src/Editor/LeftSidebar/sidebar-item.js +++ b/frontend/src/Editor/LeftSidebar/sidebar-item.js @@ -3,17 +3,19 @@ import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import Tooltip from 'react-bootstrap/Tooltip'; export const LeftSidebarItem = ({ tip = '', className, icon, text, onClick, ...rest }) => { + return ( {tip} } >
{icon && } - {text && text} + {text && text}
)