1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

added key prop to Fragment to clear warning (#1333)

This commit is contained in:
EnzoVezzaro 2022-04-06 12:18:52 -04:00 committed by GitHub
parent ced16eecc9
commit ed15952a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import { useGdprMetadata } from '@hooks/useGdprMetadata'
import { useSiteMetadata } from '@hooks/useSiteMetadata'
import Button from '@shared/atoms/Button'
import Link from 'next/link'
import React from 'react'
import React, { Fragment } from 'react'
import content from '../../../content/footer.json'
import External from '@images/external.svg'
import styles from './Links.module.css'
@ -16,12 +16,12 @@ export default function Links() {
return (
<div className={styles.links}>
{content.links.map(({ name, url }) => (
<>
<Fragment key={name}>
<Button style="text" size="small" href={url}>
{name} <External />
</Button>
{' — '}
</>
</Fragment>
))}
<Link href="/imprint">