Switch entirely to fat arrow functions

This commit is contained in:
John Furrow
2016-03-19 12:46:11 +01:00
parent 14ed9bb1f5
commit e77dfac3ae
33 changed files with 145 additions and 159 deletions

View File

@@ -136,7 +136,7 @@ export default class AddTorrents extends React.Component {
let fileData = new FormData();
this.state.files.forEach(function (file) {
this.state.files.forEach((file) => {
fileData.append('torrents', file);
});