11 lines
354 B
TypeScript
11 lines
354 B
TypeScript
|
import { DeterministicWalletData } from 'actions/deterministicWallets';
|
||
|
import { AppState } from 'reducers';
|
||
|
|
||
|
export function getWallets(state: AppState): DeterministicWalletData[] {
|
||
|
return state.deterministicWallets.wallets;
|
||
|
}
|
||
|
|
||
|
export function getDesiredToken(state: AppState): string | undefined {
|
||
|
return state.deterministicWallets.desiredToken;
|
||
|
}
|