From e6fb3563efabb97bc8e97611cefbb916296a5812 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 13 Jan 2020 15:06:31 +0100 Subject: wtf --- public/bundle.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'public/bundle.js') diff --git a/public/bundle.js b/public/bundle.js index 9ebd6e5..5660d72 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -4056,9 +4056,7 @@ var FileUpload = function (_Component) { var i = void 0, f = void 0; for (i = 0, f; i < files.length; i++) { - f = files[i]; - if (!f) continue; - mimeFiles.push(f); + mimeFiles.push(files[i]); // if (!f.type.match(this.props.mime)) continue } console.log(mimeFiles); -- cgit v1.2.3-70-g09d2