From 8dad7d8ec012f5c376885959498bc37ed66232c6 Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Fri, 8 Feb 2019 13:45:30 -0500
Subject: [PATCH] Remove extra parens

---
 src/lib/file-uploader.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/file-uploader.js b/src/lib/file-uploader.js
index 270f2178a..70fb32aff 100644
--- a/src/lib/file-uploader.js
+++ b/src/lib/file-uploader.js
@@ -208,7 +208,7 @@ const spriteUpload = function (fileData, fileType, spriteName, storage, handleSp
     case 'image/jpeg':
     case 'image/gif': {
         // Make a sprite from an image by making it a costume first
-        costumeUpload(fileData, fileType, storage, (vmCostumes => {
+        costumeUpload(fileData, fileType, storage, vmCostumes => {
             vmCostumes.forEach((costume, i) => {
                 costume.name = `${spriteName}${i + 1}`;
             });
@@ -231,7 +231,7 @@ const spriteUpload = function (fileData, fileType, spriteName, storage, handleSp
             randomizeSpritePosition(newSprite);
             // TODO probably just want sprite upload to handle this object directly
             handleSprite(JSON.stringify(newSprite));
-        }));
+        });
         return;
     }
     default: {
-- 
GitLab