mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Switch entirely to fat arrow functions
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user