feat(webapp): add monorepo version on the sidebar

This commit is contained in:
Ahmed Bouhuolia
2023-06-12 02:44:12 +02:00
parent 35ebb9c2aa
commit b9572420ed
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>;
}