Skip to content

Commit

Permalink
push verification so the CI passes
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed May 28, 2024
1 parent 8257530 commit dcab384
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions docs/data/material/getting-started/versions/ReleasedVersions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,34 @@ export default function ReleasedVersions() {
return (
<Table sx={{ minHeight: 33 * 11, overflow: 'auto', width: '100%' }}>
<TableBody>
{versions.map((doc) => (
<TableRow key={doc.version}>
<TableCell>
<Typography variant="body2">
{doc.version}
{doc.version === `v${process.env.LIB_VERSION}` ? ' ✓' : ''}
</Typography>
</TableCell>
<TableCell>
<Link variant="body2" rel="nofollow" href={doc.url}>
Documentation
</Link>
</TableCell>
<TableCell>
{doc.version.length >= 6 &&
doc.version.indexOf('pre-release') === -1 ? (
<Link
variant="body2"
rel="nofollow"
href={`${GITHUB_RELEASE_BASE_URL}${doc.version}`}
>
Release notes
{versions &&
versions.map((doc) => (
<TableRow key={doc.version}>
<TableCell>
<Typography variant="body2">
{doc.version}
{doc.version === `v${process.env.LIB_VERSION}` ? ' ✓' : ''}
</Typography>
</TableCell>
<TableCell>
<Link variant="body2" rel="nofollow" href={doc.url}>
Documentation
</Link>
) : null}
</TableCell>
</TableRow>
))}
</TableCell>
<TableCell>
{doc.version.length >= 6 &&
doc.version.indexOf('pre-release') === -1 ? (
<Link
variant="body2"
rel="nofollow"
href={`${GITHUB_RELEASE_BASE_URL}${doc.version}`}
>
Release notes
</Link>
) : null}
</TableCell>
</TableRow>
))}
</TableBody>
</Table>
);
Expand Down

0 comments on commit dcab384

Please sign in to comment.