mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 21:00:19 +03:00
Fix ESLint key={index}>
This commit is contained in:
parent
10175d1bd0
commit
deb3c15f2b
|
@ -174,7 +174,7 @@ function formatCode(html, lang, prompt) {
|
||||||
.split(' | ')
|
.split(' | ')
|
||||||
.map((l, i) => convertLine(l, i))
|
.map((l, i) => convertLine(l, i))
|
||||||
.map((l, j) => (
|
.map((l, j) => (
|
||||||
<Fragment>
|
<Fragment key={j}>
|
||||||
{j !== 0 && <span> | </span>}
|
{j !== 0 && <span> | </span>}
|
||||||
{l}
|
{l}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
|
|
@ -71,7 +71,9 @@ const Languages = () => (
|
||||||
<strong>{name}:</strong>{' '}
|
<strong>{name}:</strong>{' '}
|
||||||
{join(
|
{join(
|
||||||
dependencies.map((dep, i) => (
|
dependencies.map((dep, i) => (
|
||||||
<Link to={dep.url}>{dep.name}</Link>
|
<Link key={i} to={dep.url}>
|
||||||
|
{dep.name}
|
||||||
|
</Link>
|
||||||
))
|
))
|
||||||
)}
|
)}
|
||||||
</Li>
|
</Li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user