Add app version in footer
This commit is contained in:
2
.env
Normal file
2
.env
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
REACT_APP_VERSION=$npm_package_version
|
||||||
|
REACT_APP_NAME=$npm_package_name
|
||||||
@@ -12,6 +12,7 @@ export default function Footer(props) {
|
|||||||
<Link to="/privacy">Privacy policy</Link>
|
<Link to="/privacy">Privacy policy</Link>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
<span>v{process.env.REACT_APP_VERSION}</span>
|
||||||
</footer>
|
</footer>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user