Skip to content

Commit

Permalink
chore: Update ViewContainer to conditionally display revision informa…
Browse files Browse the repository at this point in the history
…tion in the footer
  • Loading branch information
yusufseyrek committed May 16, 2024
1 parent 6608f9a commit 5c06b27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/base/ViewContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const ViewContainer: React.FC<{ children: React.ReactNode }> = (props) => {
}}
>
<Typography sx={{ fontSize: 12 }}>{`v${packageJson.version}`}</Typography>
<Typography sx={{ fontSize: 12 }}>{`rev${process.env.REACT_APP_REVISION}`}</Typography>
{process.env.REACT_APP_REVISION && (
<Typography sx={{ fontSize: 12 }}>{`rev${process.env.REACT_APP_REVISION}`}</Typography>
)}
</Box>
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end', flex: 1 }}>
<Link sx={linkStyles} href="https://aescan.io" target="_blank">
Expand Down

0 comments on commit 5c06b27

Please sign in to comment.