mirror of
https://github.com/Readarr/Readarr
synced 2026-01-30 11:23:00 +01:00
Convert createTagsSelector to typescript
This commit is contained in:
parent
badc2567c3
commit
420824b279
1 changed files with 2 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
import { createSelector } from 'reselect';
|
||||
import AppState from 'App/State/AppState';
|
||||
|
||||
function createTagsSelector() {
|
||||
return createSelector(
|
||||
(state) => state.tags.items,
|
||||
(state: AppState) => state.tags.items,
|
||||
(tags) => {
|
||||
return tags;
|
||||
}
|
||||
Loading…
Reference in a new issue