Update prettier

This commit is contained in:
Thomas Nordquist
2020-04-15 23:54:30 +02:00
parent fbfbe94d19
commit 237c718a0a
76 changed files with 130 additions and 257 deletions

View File

@@ -33,9 +33,9 @@ class Topic extends React.PureComponent<Props, {}> {
let key = 0
const breadCrumps = node
.branch()
.map(node => node.sourceEdge)
.filter(edge => Boolean(edge))
.map(edge => [
.map((node) => node.sourceEdge)
.filter((edge) => Boolean(edge))
.map((edge) => [
<Button
onClick={() => this.props.actions.selectTopic(edge!.target)}
size="small"
@@ -66,7 +66,4 @@ const mapDispatchToProps = (dispatch: any) => {
}
}
export default connect(
null,
mapDispatchToProps
)(withStyles(styles, { withTheme: true })(Topic))
export default connect(null, mapDispatchToProps)(withStyles(styles, { withTheme: true })(Topic))

View File

@@ -43,7 +43,4 @@ const mapDispatchToProps = (dispatch: any) => {
}
}
export default connect(
undefined,
mapDispatchToProps
)(TopicPanel)
export default connect(undefined, mapDispatchToProps)(TopicPanel)