Merge pull request #136 from bigcapitalhq/add-monorepo-version-on-sidebar

feat(webapp): add monorepo version on the sidebar
This commit is contained in:
Ahmed Bouhuolia
2023-06-12 19:42:37 +02:00
committed by GitHub
6 changed files with 34 additions and 137 deletions

View File

@@ -34,10 +34,10 @@ export function Sidebar() {
* @returns {React.JSX}
*/
function SidebarFooterVersion() {
const { VERSION } = process.env;
const { MONOREPO_VERSION } = process.env;
if (!VERSION) {
if (!MONOREPO_VERSION) {
return null;
}
return <div class="sidebar__version">v{VERSION}</div>;
return <div class="sidebar__version">v{MONOREPO_VERSION}</div>;
}