From e271eed9928913ed9b4f9c742e246769bc3ca1f1 Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Thu, 23 Mar 2017 09:58:30 -0400
Subject: [PATCH] Remove unused sound callback

---
 src/components/target-pane/target-pane.jsx | 1 -
 src/containers/target-pane.jsx             | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/src/components/target-pane/target-pane.jsx b/src/components/target-pane/target-pane.jsx
index e4e86e4de..d8b3ec3df 100644
--- a/src/components/target-pane/target-pane.jsx
+++ b/src/components/target-pane/target-pane.jsx
@@ -162,7 +162,6 @@ TargetPane.propTypes = {
     onChangeSpriteY: React.PropTypes.func,
     onDeleteSprite: React.PropTypes.func,
     onNewBackdropClick: React.PropTypes.func,
-    onNewSoundClick: React.PropTypes.func,
     onNewSpriteClick: React.PropTypes.func,
     onRequestCloseBackdropLibrary: React.PropTypes.func,
     onRequestCloseCostumeLibrary: React.PropTypes.func,
diff --git a/src/containers/target-pane.jsx b/src/containers/target-pane.jsx
index 9a66cbb77..41feed8e5 100644
--- a/src/containers/target-pane.jsx
+++ b/src/containers/target-pane.jsx
@@ -5,7 +5,6 @@ const {connect} = require('react-redux');
 
 const {
     openBackdropLibrary,
-    openSoundLibrary,
     openSpriteLibrary,
     closeBackdropLibrary,
     closeCostumeLibrary,
@@ -99,10 +98,6 @@ const mapDispatchToProps = dispatch => ({
         e.preventDefault();
         dispatch(openBackdropLibrary());
     },
-    onNewSoundClick: e => {
-        e.preventDefault();
-        dispatch(openSoundLibrary());
-    },
     onNewSpriteClick: e => {
         e.preventDefault();
         dispatch(openSpriteLibrary());
-- 
GitLab