mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-01 14:33:38 +00:00
Remove "Playlist not yet implemented" message
This commit is contained in:
parent
3cfb6b61b9
commit
bef09cc354
1 changed files with 2 additions and 13 deletions
|
|
@ -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)(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue