From 452b65ee8bbcb01803b2d1464cb476129f90ac2a Mon Sep 17 00:00:00 2001 From: Haley Date: Thu, 20 Jun 2019 16:34:11 -0700 Subject: [PATCH] removed comments --- src/actions/action-creators.test.js | 2 +- src/containers/SidebarContainer.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/actions/action-creators.test.js b/src/actions/action-creators.test.js index c7fe429..418baa6 100644 --- a/src/actions/action-creators.test.js +++ b/src/actions/action-creators.test.js @@ -260,7 +260,7 @@ describe('Action creators', () => { }; // download mock const download = () => null; - // dispatch action + store.dispatch(actions.generateGIF([], opts, gifshot, download)); expect(store.getActions()).toEqual(expectedActions); }); diff --git a/src/containers/SidebarContainer.js b/src/containers/SidebarContainer.js index 4ef04e6..bf12ef4 100644 --- a/src/containers/SidebarContainer.js +++ b/src/containers/SidebarContainer.js @@ -5,14 +5,12 @@ import { requestFrame, togglePane, reset } from '../actions'; const mapStateToProps = (state, ownProps) => { const { images, settings, ui } = state; const { expandedPane } = ui; - const { gifData, frameIDs, gifFileName } = images; + const { frameIDs } = images; const { width, height, oversample } = settings.image; return { numFrames: frameIDs.length, expandedPane, - // gifData, - // gifFileName, width, height, oversample