Fix ESLint react/jsx-no-duplicate-props

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

View File

@ -104,6 +104,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 }) => {
@ -122,7 +123,6 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
}
return (
<Quickstart
id="quickstart-widget"
Container="div"
download={download}
rawContent={rawContent}
@ -139,6 +139,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
)
}