mirror of
https://github.com/zoriya/flood.git
synced 2025-12-21 14:45:14 +00:00
21 lines
394 B
JavaScript
21 lines
394 B
JavaScript
import { createSelector } from 'reselect';
|
|
|
|
import clientSelector from './clientSelector';
|
|
import torrentSelector from './torrentSelector';
|
|
import uiSelector from './uiSelector';
|
|
|
|
const rootSelector = createSelector(
|
|
clientSelector,
|
|
torrentSelector,
|
|
uiSelector,
|
|
(client, torrents, ui) => {
|
|
return {
|
|
client,
|
|
torrents,
|
|
ui
|
|
};
|
|
}
|
|
);
|
|
|
|
export default rootSelector;
|