mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 12:10:19 -07:00
13 lines
406 B
JavaScript
13 lines
406 B
JavaScript
import { connect } from 'react-redux';
|
|
import { setArtistTableOption } from 'Store/Actions/artistIndexActions';
|
|
import ArtistIndexHeader from './ArtistIndexHeader';
|
|
|
|
function createMapDispatchToProps(dispatch, props) {
|
|
return {
|
|
onTableOptionChange(payload) {
|
|
dispatch(setArtistTableOption(payload));
|
|
}
|
|
};
|
|
}
|
|
|
|
export default connect(undefined, createMapDispatchToProps)(ArtistIndexHeader);
|