Fix react warnings

This commit is contained in:
Thomas Nordquist
2019-04-15 11:55:55 +02:00
parent 0d56ab49ea
commit 6d6b35d5f8
3 changed files with 25 additions and 22 deletions

View File

@@ -72,7 +72,9 @@ class Sidebar extends React.Component<Props, State> {
return (
<CustomIconButton onClick={() => this.deleteTopic(this.props.node)}>
<Tooltip title="Clear this topic">
<Delete />
<span>
<Delete />
</span>
</Tooltip>
</CustomIconButton>
)