mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 10:41:56 +00:00
7 lines
328 B
TypeScript
7 lines
328 B
TypeScript
|
import { AppState } from 'reducers';
|
||
|
|
||
|
const getSwap = (state: AppState) => state.swap;
|
||
|
export const getOrigin = (state: AppState) => getSwap(state).origin;
|
||
|
export const getPaymentAddress = (state: AppState) => getSwap(state).paymentAddress;
|
||
|
export const shouldDisplayLiteSend = (state: AppState) => getSwap(state).showLiteSend;
|