diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-19 12:11:50 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-19 12:12:39 -0300 |
commit | 770ab6f01dc81a16f384f314982bd761540f8e65 (patch) | |
tree | 8caa33a1e3d5738456308398817b778565a10491 /packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx | |
parent | d5efb6198ea6a5fc159c8d546a1af13ff3d301e9 (diff) | |
download | wallet-core-770ab6f01dc81a16f384f314982bd761540f8e65.tar.xz |
build and test like other webapps
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx index b96e431f8..1d15bb094 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx @@ -28,6 +28,9 @@ import { useInstanceKYCDetails } from "../../hooks/instance.js"; import { Translate } from "../../i18n/index.js"; import { LangSelector } from "./LangSelector.js"; +const GIT_HASH = typeof __GIT_HASH__ !== "undefined" ? __GIT_HASH__ : undefined; +const VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : undefined; + interface Props { onLogout: () => void; mobile?: boolean; @@ -76,7 +79,7 @@ export function Sidebar({ class="is-size-7 has-text-right" style={{ lineHeight: 0, marginTop: -10 }} > - {process.env.__VERSION__} ({config.version}) + {VERSION} ({config.version}) </div> </div> </div> |