lbry-desktop/ui/redux/selectors/coinSwap.js

9 lines
224 B
JavaScript
Raw Normal View History

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