MyCrypto/common/selectors/ens.js

7 lines
154 B
JavaScript

// @flow
import type { State } from 'reducers';
export function getEnsAddress(state: State, ensName: string): ?string {
return state.ens[ensName];
}