madiator.com/ui/redux/selectors/coinSwap.js

9 lines
224 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
// @flow
import { createSelector } from 'reselect';
const selectState = (state) => state.coinSwap || {};
export const selectCoinSwaps = createSelector(selectState, (state: CoinSwapState) => {
return state.coinSwaps;
});