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))
|
||||
.join('\n')
|
||||
return (
|
||||
<<<<<<< Updated upstream
|
||||
<StaticQuery
|
||||
query={query}
|
||||
render={({ site }) => {
|
||||
|
@ -131,7 +132,6 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
|||
}
|
||||
return (
|
||||
<Quickstart
|
||||
id="quickstart-widget"
|
||||
Container="div"
|
||||
download={download}
|
||||
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