fix(v1): fresh install failing due to <> syntax

https://github.com/facebook/docusaurus/issues/3199 (#3213)
This commit is contained in:
Sébastien Lorber 2020-08-05 16:19:24 +02:00 committed by GitHub
parent 8f0c00f3d4
commit 83d160f017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 6 deletions

View file

@ -34,14 +34,14 @@ class Users extends React.Component {
</div>
<div className="logos">{showcase}</div>
{siteConfig.repoUrl && (
<>
<React.Fragment>
<p>Are you using this project?</p>
<a
href={`${siteConfig.repoUrl}/edit/master/website/siteConfig.js`}
className="button">
Add your company
</a>
</>
</React.Fragment>
)}
</div>
</Container>