diff --git a/frontend/src/pages/profile/SnippetCardWrapper.jsx b/frontend/src/pages/profile/SnippetCardWrapper.jsx index 408550c5..1058999b 100644 --- a/frontend/src/pages/profile/SnippetCardWrapper.jsx +++ b/frontend/src/pages/profile/SnippetCardWrapper.jsx @@ -1,5 +1,13 @@ function SnippetCardWrapper({ children }) { - return
{children}
; + const hoverTooltip = + children.props.children.length > 1 + ? children.props.children[0].props.data?.name + : ''; + return ( +
+ {children} +
+ ); } export default SnippetCardWrapper;