mirror of
https://github.com/zoriya/flood.git
synced 2026-05-30 10:08:36 +00:00
Add modal to state
This commit is contained in:
@@ -2,6 +2,8 @@ import { createSelector } from 'reselect';
|
||||
|
||||
const fetchingData = state => state.ui.fetchingData;
|
||||
|
||||
const modal = state => state.ui.modal;
|
||||
|
||||
const torrentListCount = state => state.ui.torrentList.count;
|
||||
|
||||
const torrentListSelected = state => state.ui.torrentList.selected;
|
||||
@@ -31,10 +33,12 @@ const torrentList = createSelector(
|
||||
|
||||
const uiSelector = createSelector(
|
||||
fetchingData,
|
||||
modal,
|
||||
torrentList,
|
||||
(fetchingData, torrentList) => {
|
||||
(fetchingData, modal, torrentList) => {
|
||||
return {
|
||||
fetchingData,
|
||||
modal,
|
||||
torrentList
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user