diff --git a/packages/app-accounts/src/modals/Identity.tsx b/packages/app-accounts/src/modals/Identity.tsx index fe409ac741..2b352305b7 100644 --- a/packages/app-accounts/src/modals/Identity.tsx +++ b/packages/app-accounts/src/modals/Identity.tsx @@ -7,6 +7,7 @@ import { Registration } from '@polkadot/types/interfaces'; import React, { useEffect, useState } from 'react'; import styled from 'styled-components'; import { Button, Input, Modal, Toggle, TxButton } from '@polkadot/react-components'; +import { getAddressMeta } from '@polkadot/react-components/util'; import { useApi, useCall } from '@polkadot/react-hooks'; import { Data, Option } from '@polkadot/types'; import { u8aToString } from '@polkadot/util'; @@ -63,7 +64,7 @@ function Identity ({ address, className, onClose }: Props): React.ReactElement
({ errImg: true, valImg: '' }); const [valLegal, setValLegal] = useState('');