Skip to content

Commit

Permalink
fix: mui warning
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozone committed Sep 21, 2022
1 parent e2e4431 commit 1bb6510
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -17,7 +17,11 @@ const ToolbarButton: React.SFC<{
return (
<ConditionalWrapper
condition={!disabled}
wrapper={(children) => <Tooltip title={toolTip}>{children}</Tooltip>}
wrapper={(children) => (
<Tooltip title={toolTip}>
<>{children}</>
</Tooltip>
)}
>
<IconButton
onMouseDown={onClick}
Expand Down

0 comments on commit 1bb6510

Please sign in to comment.