mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
14 lines
406 B
JavaScript
14 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);
|