Changing how we handle event functions.
This commit is contained in:
parent
37e78df682
commit
6d48e5b36b
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue