Merge pull request #149 from rschamp/remove-onNewCostumeClick

Remove unused onNewCostumeClick prop
This commit is contained in:
Ray Schamp authored and GitHub committed 2017-03-01 17:58:16 -05:00
commit 4f67a0b7cd
2 files changed
-6

No files matched your search

@@ -128,7 +128,6 @@ TargetPane.propTypes = {
costumeLibraryVisible: React.PropTypes.bool,
editingTarget: React.PropTypes.string,
onNewBackdropClick: React.PropTypes.func,
onNewCostumeClick: React.PropTypes.func,
onNewSpriteClick: React.PropTypes.func,
onRequestCloseBackdropLibrary: React.PropTypes.func,
onRequestCloseCostumeLibrary: React.PropTypes.func,
-5
View File
@@ -6,7 +6,6 @@ const {connect} = require('react-redux');
const {
openBackdropLibrary,
openCostumeLibrary,
openSpriteLibrary,
closeBackdropLibrary,
closeCostumeLibrary,
@@ -60,10 +59,6 @@ const mapDispatchToProps = dispatch => ({
e.preventDefault();
dispatch(openBackdropLibrary());
},
onNewCostumeClick: e => {
e.preventDefault();
dispatch(openCostumeLibrary());
},
onNewSpriteClick: e => {
e.preventDefault();
dispatch(openSpriteLibrary());