MyCrypto/common/selectors/ens.ts

6 lines
150 B
TypeScript

import { AppState } from 'reducers';
export function getEnsAddress(state: AppState, ensName: string): null | string {
return state.ens[ensName];
}