fix: some bug fixes

This commit is contained in:
David Ralph
2021-04-21 19:35:33 +01:00
parent 9b43063935
commit 51d0715f0f
22 changed files with 49 additions and 38 deletions

View File

@@ -19,7 +19,9 @@ export default class FileUpload extends React.PureComponent {
reader.readAsDataURL(file);
}
reader.addEventListener('load', (e) => this.props.loadFunction(e));
reader.addEventListener('load', (e) => {
this.props.loadFunction(e);
});
};
}