Fix Search Table Options Modal

This commit is contained in:
Qstick
2020-12-28 22:48:26 -05:00
parent 5f876ed441
commit d9892cffd6

View File

@@ -1,11 +1,11 @@
import { connect } from 'react-redux';
import { setMovieTableOption } from 'Store/Actions/indexerIndexActions';
import { setReleasesTableOption } from 'Store/Actions/releaseActions';
import SearchIndexHeader from './SearchIndexHeader';
function createMapDispatchToProps(dispatch, props) {
return {
onTableOptionChange(payload) {
dispatch(setMovieTableOption(payload));
dispatch(setReleasesTableOption(payload));
}
};
}