Fix ESLint react/jsx-no-duplicate-props

This commit is contained in:
Marcus Blättermann 2022-11-29 12:25:10 +01:00
parent deb3c15f2b
commit 90590d92c7
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -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
) )
} }