mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
15 lines
392 B
JavaScript
15 lines
392 B
JavaScript
import { connect } from 'react-redux';
|
|
import { createSelector } from 'reselect';
|
|
import AuthorIndexTableOptions from './AuthorIndexTableOptions';
|
|
|
|
function createMapStateToProps() {
|
|
return createSelector(
|
|
(state) => state.authorIndex.tableOptions,
|
|
(tableOptions) => {
|
|
return tableOptions;
|
|
}
|
|
);
|
|
}
|
|
|
|
export default connect(createMapStateToProps)(AuthorIndexTableOptions);
|