prepare for build

This commit is contained in:
Daniele Pancottini 2023-01-22 12:05:39 +01:00
parent d90fc561c0
commit dbc295d970
3 changed files with 5 additions and 5 deletions

View File

@ -114,8 +114,8 @@ export default function AboutSlider() {
fontSize={{ base: 'md', lg: 'lg' }} fontSize={{ base: 'md', lg: 'lg' }}
color="GrayText" color="GrayText"
> >
{card.text.split('<br/>').map((str) => ( {card.text.split('<br/>').map((str, index) => (
<p>{str}</p> <p key={index}>{str}</p>
))} ))}
</Text> </Text>
</Stack> </Stack>

View File

@ -114,8 +114,8 @@ export default function NewsSlider() {
fontSize={{ base: 'md', lg: 'lg' }} fontSize={{ base: 'md', lg: 'lg' }}
color="GrayText" color="GrayText"
> >
{card.text.split('<br/>').map((str) => ( {card.text.split('<br/>').map((str, index) => (
<p>{str}</p> <p key={index}>{str}</p>
))} ))}
</Text> </Text>
</Stack> </Stack>

View File

@ -40,7 +40,7 @@ export default function WhereWeAre() {
{tableData[locale as keyof typeof tableData].map( {tableData[locale as keyof typeof tableData].map(
(elem, index) => { (elem, index) => {
return ( return (
<Tr> <Tr key={index}>
<Td>{elem.day}</Td> <Td>{elem.day}</Td>
<Td>{elem.time}</Td> <Td>{elem.time}</Td>
<Td>{elem.location}</Td> <Td>{elem.location}</Td>