mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
15 lines
392 B
JavaScript
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);
|