Skip to content

Commit

Permalink
get rid of inputref focus error
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler authored and mholtzman committed Jul 5, 2022
1 parent 4302500 commit 5ee8099
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/App/Panel/Main/Account/SignerStatus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ class SignerStatus extends React.Component {
this.props.hideSignerStatus(true)
}
})
this.inputRef.current.focus()
if (this.inputRef.current) {
this.inputRef.current.focus()
}
}, 100)
}

Expand Down

0 comments on commit 5ee8099

Please sign in to comment.