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