-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
created auto-download feature #20 #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small changes, then
src/containers/SidebarContainer.js
Outdated
@@ -11,8 +11,8 @@ const mapStateToProps = (state, ownProps) => { | |||
return { | |||
numFrames: frameIDs.length, | |||
expandedPane, | |||
gifData, | |||
gifFileName, | |||
// gifData, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These commented out ones should be removed.
src/actions/action-creators.test.js
Outdated
store.dispatch(actions.generateGIF([], opts, gifshot)); | ||
// download mock | ||
const download = () => null; | ||
// dispatch action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is superfluous -- it's obvious it's dispatching.
Triggers auto-download when selecting generate gif, issue #20