mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-06 08:25:54 +01:00
14 lines
392 B
JavaScript
14 lines
392 B
JavaScript
import { connect } from 'react-redux';
|
|
import { createSelector } from 'reselect';
|
|
import ArtistIndexTableOptions from './ArtistIndexTableOptions';
|
|
|
|
function createMapStateToProps() {
|
|
return createSelector(
|
|
(state) => state.artistIndex.tableOptions,
|
|
(tableOptions) => {
|
|
return tableOptions;
|
|
}
|
|
);
|
|
}
|
|
|
|
export default connect(createMapStateToProps)(ArtistIndexTableOptions);
|