mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
8 lines
296 B
JavaScript
8 lines
296 B
JavaScript
// @flow
|
|
import { createSelector } from 'reselect';
|
|
|
|
const selectState = (state: { coinSwap: CoinSwapState }) => state.coinSwap || {};
|
|
|
|
export const selectBtcAddresses = createSelector(selectState, (state: CoinSwapState) => {
|
|
return state.btcAddresses.filter((x) => typeof x === 'string');
|
|
});
|