diff --git a/packages/react-identicon/src/Identicon.tsx b/packages/react-identicon/src/Identicon.tsx index 57ad9a92..46d555a7 100644 --- a/packages/react-identicon/src/Identicon.tsx +++ b/packages/react-identicon/src/Identicon.tsx @@ -8,7 +8,7 @@ import { IdentityProps as Props, Props as ComponentProps } from './types'; import React from 'react'; import CopyToClipboard from 'react-copy-to-clipboard'; import styled from 'styled-components'; -import settings, { ICON_DEFAULT } from '@polkadot/ui-settings'; +import settings, { ICON_DEFAULT_HOST } from '@polkadot/ui-settings'; import { isHex, isU8a, u8aToHex } from '@polkadot/util'; import { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; @@ -113,7 +113,7 @@ export default class IdentityIcon extends React.PureComponent { const { className, isHighlight = false, size = DEFAULT_SIZE, style, theme = settings.icon } = this.props; const Component = !address ? Empty - : Components[theme === 'default' ? ICON_DEFAULT : theme] || Fallback; + : Components[theme === 'default' ? ICON_DEFAULT_HOST : theme] || Fallback; return (