mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-03 06:44:39 +00:00
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…
x
Reference in New Issue
Block a user