Skip to content

Commit

Permalink
Remove unneeded extra condition
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisl committed Jul 13, 2023
1 parent 33cf4c7 commit de52f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Composer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class Composer extends React.Component {
* @param {ClipboardEvent} event
*/
handlePaste(event) {
if (!this.props.checkComposerVisibility() && !this.state.isFocused) {
if (!this.props.checkComposerVisibility()) {
return;
}

Expand Down

0 comments on commit de52f82

Please sign in to comment.