Remove incorrect flexAlign prop

Huh. `flexAlign` isn't a real Chakra style prop, because it's not a real CSS style. I wonder if I meant `alignItems`? Anyway, this was getting passed down to the DOM element and triggering a console warning. Removed!
This commit is contained in:
Emi Matchu 2021-11-01 16:09:56 -07:00
parent 6ce0f59894
commit 21096ef837

View file

@ -454,18 +454,12 @@ function ItemPageTradeLink({ href, count, label, colorScheme, isEmbedded }) {
paddingRight="1"
>
<Box display="grid" gridTemplateAreas="single-area">
<Box
gridArea="single-area"
display="flex"
flexAlign="center"
justifyContent="center"
>
<Box gridArea="single-area" display="flex" justifyContent="center">
{count} {label} <ChevronRightIcon minHeight="1.2em" />
</Box>
<Box
gridArea="single-area"
display="flex"
flexAlign="center"
justifyContent="center"
visibility="hidden"
>