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:
parent
6ce0f59894
commit
21096ef837
1 changed files with 1 additions and 7 deletions
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue