mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
Typings cleanup and improvements
This commit is contained in:
@@ -5,6 +5,7 @@ export function createSeriesSelectorForHook(seriesId) {
|
||||
(state) => state.series.itemMap,
|
||||
(state) => state.series.items,
|
||||
(itemMap, allSeries) => {
|
||||
|
||||
return seriesId ? allSeries[itemMap[seriesId]]: undefined;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user