diff --git a/common/containers/Tabs/WalletDecrypt/index.jsx b/common/containers/Tabs/WalletDecrypt/index.jsx
index 529041f0..88dfbcb1 100644
--- a/common/containers/Tabs/WalletDecrypt/index.jsx
+++ b/common/containers/Tabs/WalletDecrypt/index.jsx
@@ -54,7 +54,11 @@ export default class WalletDecrypt extends Component {
return this.state.decryptionChoice === decryptionChoice.name;
});
- return selectedDecryptionChoice.component;
+ if (!selectedDecryptionChoice) {
+ return null;
+ }
+
+ return ;
}
buildDecryptionChoices() {
@@ -93,7 +97,7 @@ export default class WalletDecrypt extends Component {
}
render() {
- const DecryptionComponent = this.getDecryptionComponent();
+ const decryptionComponent = this.getDecryptionComponent();
return (
@@ -113,7 +117,7 @@ export default class WalletDecrypt extends Component {
-
+ {decryptionComponent}