fix(v2): remove duplicate section on Versions page (#3960)

This commit is contained in:
Alexey Pyltsyn 2020-12-28 19:23:24 +03:00 committed by GitHub
parent 88a6f56654
commit 863a4d85d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,25 +73,6 @@ function Version() {
</table>
</div>
{currentVersion !== latestVersion && (
<div className="margin-bottom--lg">
<h3 id="next">Next version (Unreleased)</h3>
<p>Here you can find the documentation for unreleased version.</p>
<table>
<tbody>
<tr>
<th>master</th>
<td>
<Link to={currentVersion.path}>Documentation</Link>
</td>
<td>
<a href={repoUrl}>Source Code</a>
</td>
</tr>
</tbody>
</table>
</div>
)}
{pastVersions.length > 0 && (
<div className="margin-bottom--lg">
<h3 id="archive">Past versions (Not maintained anymore)</h3>