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:
parent
ced16eecc9
commit
ed15952a85
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user