diff --git a/src/components/Identicon/index.tsx b/src/components/Identicon/index.tsx index 8fb283df..c0c499b7 100644 --- a/src/components/Identicon/index.tsx +++ b/src/components/Identicon/index.tsx @@ -1,4 +1,6 @@ import * as React from 'react' +import { ZERO_ADDRESS } from 'src/logic/wallets/ethAddresses' + import { toDataUrl } from './blockies' export default class Identicon extends React.PureComponent { @@ -45,7 +47,7 @@ export default class Identicon extends React.PureComponent { generateBlockieIdenticon = (address, diameter) => { const image = new window.Image() - image.src = toDataUrl(address) + image.src = toDataUrl(address || ZERO_ADDRESS) image.height = diameter image.width = diameter image.style.borderRadius = `${diameter / 2}px`