Fix add board

This commit is contained in:
Chen-I Lim 2020-11-02 09:46:35 -08:00
parent 4ed2e02fef
commit 5269175248

View file

@ -175,7 +175,7 @@ class Sidebar extends React.Component<Props, State> {
<br/>
<Button onClick={this.addBoardClicked}>
<Button onClick={() => {this.addBoardClicked()}}>
<FormattedMessage
id='Sidebar.add-board'
defaultMessage='+ Add Board'
@ -268,9 +268,8 @@ class Sidebar extends React.Component<Props, State> {
if (oldBoardId) {
showBoard(oldBoardId)
}
})
await mutator.insertBlock(board)
}
)
}
private hideClicked() {