mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Fix ESLint react/jsx-no-duplicate-props
This commit is contained in:
parent
deb3c15f2b
commit
90590d92c7
|
@ -113,6 +113,7 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
||||||
.map((line) => (line.startsWith('#') ? `<span class="token comment">${line}</span>` : line))
|
.map((line) => (line.startsWith('#') ? `<span class="token comment">${line}</span>` : line))
|
||||||
.join('\n')
|
.join('\n')
|
||||||
return (
|
return (
|
||||||
|
<<<<<<< Updated upstream
|
||||||
<StaticQuery
|
<StaticQuery
|
||||||
query={query}
|
query={query}
|
||||||
render={({ site }) => {
|
render={({ site }) => {
|
||||||
|
@ -131,7 +132,6 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Quickstart
|
<Quickstart
|
||||||
id="quickstart-widget"
|
|
||||||
Container="div"
|
Container="div"
|
||||||
download={download}
|
download={download}
|
||||||
rawContent={rawContent}
|
rawContent={rawContent}
|
||||||
|
@ -148,6 +148,22 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
=======
|
||||||
|
<Quickstart
|
||||||
|
Container="div"
|
||||||
|
download={download}
|
||||||
|
rawContent={rawContent}
|
||||||
|
data={data}
|
||||||
|
title={title}
|
||||||
|
id={id}
|
||||||
|
setters={setters}
|
||||||
|
hidePrompts
|
||||||
|
small
|
||||||
|
codeLang="ini"
|
||||||
|
>
|
||||||
|
{htmlToReact(displayContent)}
|
||||||
|
</Quickstart>
|
||||||
|
>>>>>>> Stashed changes
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user