patch asset-swapper to support ERC721

This commit is contained in:
David Sun
2020-02-24 11:51:59 -05:00
parent 3b446e887a
commit 31275228ac
4 changed files with 69 additions and 14 deletions

View File

@@ -72,7 +72,13 @@ export class InstantHeading extends React.PureComponent<InstantHeadingProps, {}>
overflow="hidden"
borderRadius="50%"
>
<Image src={asset.metaData.imageUrl} height="100%" objectFit="cover" />
<Flex
justify="center"
align="center"
height="100%"
>
<Image src={asset.metaData.imageUrl} height="100%" objectFit="cover" />
</Flex>
</Container>
</Flex>
</Container>