From bef09cc3549e44f03b9660601de8b8b985b81151 Mon Sep 17 00:00:00 2001 From: Jonny Buchanan Date: Fri, 9 Feb 2018 13:33:29 +1000 Subject: [PATCH] Remove "Playlist not yet implemented" message --- js/components/MainWindow/PlaylistToggleButton.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/js/components/MainWindow/PlaylistToggleButton.js b/js/components/MainWindow/PlaylistToggleButton.js index 859b1820..e9d6337b 100644 --- a/js/components/MainWindow/PlaylistToggleButton.js +++ b/js/components/MainWindow/PlaylistToggleButton.js @@ -3,9 +3,7 @@ import { connect } from "react-redux"; import classnames from "classnames"; import { - TOGGLE_PLAYLIST_WINDOW, - SET_USER_MESSAGE, - UNSET_USER_MESSAGE + TOGGLE_PLAYLIST_WINDOW } from "../../actionTypes"; const PlaylistToggleButton = props => ( @@ -13,8 +11,6 @@ const PlaylistToggleButton = props => ( id="playlist-button" className={classnames({ selected: props.playlist })} onClick={props.handleClick} - onMouseDown={props.handleMouseDown} - onMouseUp={props.handleMouseUp} title="Toggle Playlist Editor" /> ); @@ -24,14 +20,7 @@ const mapStateToProps = state => ({ }); const mapDispatchToProps = { - handleClick: () => ({ type: TOGGLE_PLAYLIST_WINDOW }), - handleMouseDown: () => ({ - type: SET_USER_MESSAGE, - message: "Playlist not yet implemented" - }), - handleMouseUp: () => ({ - type: UNSET_USER_MESSAGE - }) + handleClick: () => ({ type: TOGGLE_PLAYLIST_WINDOW }) }; export default connect(mapStateToProps, mapDispatchToProps)(