Merge pull request #14161 from strapi/custom-fields/i18n-icon-fix

[Custom fields] Remove extraneous prop
This commit is contained in:
Rémi de Juvigny 2022-08-22 16:55:01 +02:00 committed by GitHub
commit 556070d63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,9 +30,7 @@ const ColorPickerInput = ({
> >
<Stack spacing={1}> <Stack spacing={1}>
<Flex> <Flex>
<FieldLabel required={required} labelAction={labelAction}> <FieldLabel required={required}>{formatMessage(intlLabel)}</FieldLabel>
{formatMessage(intlLabel)}
</FieldLabel>
{labelAction && <Box paddingLeft={1}>{labelAction}</Box>} {labelAction && <Box paddingLeft={1}>{labelAction}</Box>}
</Flex> </Flex>
<Typography variant="pi" as="p"> <Typography variant="pi" as="p">