correct CircleNumber number props type

This commit is contained in:
mattyl006 2022-08-29 16:05:49 +02:00
parent 16d0b28a58
commit a65bd37ed4

View File

@ -32,7 +32,7 @@ const Commercial = () => {
listItemsContent.map((item, index) => { listItemsContent.map((item, index) => {
return ( return (
<FlexRow key={`commercial-item-${index}`} width='100%' gap='8px'> <FlexRow key={`commercial-item-${index}`} width='100%' gap='8px'>
<CircleNumber number={index + 1}/> <CircleNumber number={String(index + 1)}/>
<Medium width='80%' as='li'> <Medium width='80%' as='li'>
{item} {item}
</Medium> </Medium>
@ -69,7 +69,7 @@ const Commercial = () => {
listItemsContent.map((item, index) => { listItemsContent.map((item, index) => {
return ( return (
<FlexRow key={`commercial-item-${index}`} width='100%' gap='16px'> <FlexRow key={`commercial-item-${index}`} width='100%' gap='16px'>
<CircleNumber number={index + 1}/> <CircleNumber number={String(index + 1)}/>
<Medium width='80%' as='li'> <Medium width='80%' as='li'>
{item} {item}
</Medium> </Medium>