mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
14 lines
406 B
JavaScript
14 lines
406 B
JavaScript
import { connect } from 'react-redux';
|
|
import { setSeriesTableOption } from 'Store/Actions/seriesIndexActions';
|
|
import SeriesIndexHeader from './SeriesIndexHeader';
|
|
|
|
function createMapDispatchToProps(dispatch, props) {
|
|
return {
|
|
onTableOptionChange(payload) {
|
|
dispatch(setSeriesTableOption(payload));
|
|
}
|
|
};
|
|
}
|
|
|
|
export default connect(undefined, createMapDispatchToProps)(SeriesIndexHeader);
|