diff options
author | Renard | 2019-09-25 15:33:33 -0300 |
---|---|---|
committer | Renard | 2019-09-25 15:33:33 -0300 |
commit | 2e496411a387493e87087d90deb4ed5efe3c3417 (patch) | |
tree | 28f4043d37275abc82a78b739e2ef35afdfffd87 /src/ReplyForm.js | |
parent | 30d3bf92fe11bcdfeeaf070732f28d9cd5be799a (diff) | |
download | bai-client-2e496411a387493e87087d90deb4ed5efe3c3417.tar.gz bai-client-2e496411a387493e87087d90deb4ed5efe3c3417.tar.xz bai-client-2e496411a387493e87087d90deb4ed5efe3c3417.zip |
Variable destructuring ✨
Diffstat (limited to 'src/ReplyForm.js')
-rw-r--r-- | src/ReplyForm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ReplyForm.js b/src/ReplyForm.js index 8c942e7..33b33a0 100644 --- a/src/ReplyForm.js +++ b/src/ReplyForm.js @@ -86,8 +86,8 @@ class ReplyForm extends Component { render() { const { name, email, message, replyRes, attachment } = this.state; - const { currentBoard, nightMode, quickReply } = this.props; - if (this.props.locked === 1) { + const { currentBoard, nightMode, quickReply, locked } = this.props; + if (locked === 1) { return ( <Message negative> <Message.Header>Hilo cerrado</Message.Header> |