aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pages/keychains
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/pages/keychains')
-rw-r--r--ui/app/components/pages/keychains/reveal-seed.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/pages/keychains/reveal-seed.js b/ui/app/components/pages/keychains/reveal-seed.js
index dc2cfc23e..029eb7d8e 100644
--- a/ui/app/components/pages/keychains/reveal-seed.js
+++ b/ui/app/components/pages/keychains/reveal-seed.js
@@ -8,7 +8,10 @@ const { DEFAULT_ROUTE } = require('../../../routes')
class RevealSeedPage extends Component {
componentDidMount () {
- document.getElementById('password-box').focus()
+ const passwordBox = document.getElementById('password-box')
+ if (passwordBox) {
+ passwordBox.focus()
+ }
}
checkConfirmation (event) {