1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00
Files
Sonarr/frontend/src/Series/Index/Table/SeriesIndexTableOptionsConnector.js
T
Mark McDowall 5894b4fd95 v3 UI
2018-12-29 13:08:43 +01:00

15 lines
392 B
JavaScript

import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import SeriesIndexTableOptions from './SeriesIndexTableOptions';
function createMapStateToProps() {
return createSelector(
(state) => state.seriesIndex.tableOptions,
(tableOptions) => {
return tableOptions;
}
);
}
export default connect(createMapStateToProps)(SeriesIndexTableOptions);