mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-16 21:16:24 -04:00
13 lines
237 B
JavaScript
13 lines
237 B
JavaScript
import { createSelector } from 'reselect';
|
|
|
|
function createAllAuthorsSelector() {
|
|
return createSelector(
|
|
(state) => state.authors,
|
|
(author) => {
|
|
return author.items;
|
|
}
|
|
);
|
|
}
|
|
|
|
export default createAllAuthorsSelector;
|