Fix Sidebar & Mouse event target area

Fix clipboard
Fix invalid state in sidebar due to missing event termination
This commit is contained in:
Thomas Nordquist
2019-01-10 10:34:09 +01:00
parent 269061bdc8
commit eb375073f9
11 changed files with 111 additions and 60 deletions

View File

@@ -31,7 +31,8 @@ class Topic extends React.Component<Props, {}> {
.map(node => node.sourceEdge)
.filter(edge => Boolean(edge))
.map(edge =>
[<Button
[(
<Button
onClick={() => this.setState({ node: edge!.target })}
size="small"
color="secondary"
@@ -39,7 +40,8 @@ class Topic extends React.Component<Props, {}> {
key={edge!.hash()}
>
{edge!.name}
</Button>],
</Button>
)],
)
if (breadCrumps.length === 0) {