MyCrypto/common/selectors/ens.js

7 lines
152 B
JavaScript

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