diff --git a/common/containers/Tabs/WalletDecrypt/KeystoreDecrypt/index.jsx b/common/containers/Tabs/WalletDecrypt/KeystoreDecrypt/index.jsx index 780815a0..29c39cc8 100644 --- a/common/containers/Tabs/WalletDecrypt/KeystoreDecrypt/index.jsx +++ b/common/containers/Tabs/WalletDecrypt/KeystoreDecrypt/index.jsx @@ -6,11 +6,9 @@ import ethUtil from 'ethereumjs-util'; export default class KeystoreDecrypt extends Component { constructor(props) { super(props); - - this.handleFileSelection = this.handleFileSelection.bind(this); } - handleFileSelection(event) { + handleFileSelection = (event) => { const fileReader = new FileReader(); const inputFile = event.target.files[0];