mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 09:09:01 +00:00
Fixes #584
This commit is contained in:
parent
b495e4f958
commit
bc41ba3ef2
1 changed files with 4 additions and 5 deletions
|
|
@ -80,12 +80,11 @@ class PlaylistShade extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
const mapDispatchToProps = dispatch => ({
|
||||
focusPlaylist: () =>
|
||||
dispatch({ type: SET_FOCUSED_WINDOW, window: WINDOWS.PLAYLIST }),
|
||||
const mapDispatchToProps = {
|
||||
focusPlaylist: () => ({ type: SET_FOCUSED_WINDOW, window: WINDOWS.PLAYLIST }),
|
||||
close: () => closeWindow("playlist"),
|
||||
toggleShade: () => dispatch(togglePlaylistShadeMode())
|
||||
});
|
||||
toggleShade: () => togglePlaylistShadeMode()
|
||||
};
|
||||
|
||||
const mapStateToProps = state => {
|
||||
const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue