Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
feat: added package version in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-calavera authored and mvines committed Jul 15, 2019
1 parent dd6efa7 commit 67cb8b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_VERSION=$npm_package_version
4 changes: 4 additions & 0 deletions src/v2/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import useStyles from './styles';
import bg from './assets/bg.svg';
import bgSm from './assets/bg_sm.svg';

const version = process.env.REACT_APP_VERSION;

const Footer = () => {
const classes = useStyles();
return (
Expand All @@ -23,6 +25,8 @@ const Footer = () => {
<Newsletter />
<Typography className={classes.copyright}>
© Copyright Solana Labs, Inc. All rights reserved.
<br />
{version}
</Typography>
</Grid>
<Grid item className={classes.right} xs={12} md={5}>
Expand Down

0 comments on commit 67cb8b5

Please sign in to comment.