mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-20 22:14:34 -04:00
15 lines
396 B
JavaScript
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);
|