Files
Prowlarr/frontend/src/Indexer/Index/Table/IndexerIndexTableOptionsConnector.js
T
2021-04-25 23:05:05 -04:00

15 lines
396 B
JavaScript

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