From 9af710179f8d129d7e17c7dc3d2ddbaa2d5436d9 Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Thu, 21 Aug 2025 16:41:00 +0300 Subject: [PATCH] add app version to the header Signed-off-by: Uncle Fatso --- package.json | 2 +- src/components/Sidebar/NavContent.jsx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a929c50..bd7fb17 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ghost-dao-interface", "private": true, - "version": "0.2.12", + "version": "0.2.13", "type": "module", "scripts": { "dev": "vite", diff --git a/src/components/Sidebar/NavContent.jsx b/src/components/Sidebar/NavContent.jsx index 979ecad..e08529e 100644 --- a/src/components/Sidebar/NavContent.jsx +++ b/src/components/Sidebar/NavContent.jsx @@ -50,6 +50,7 @@ import ShowerIcon from '@mui/icons-material/Shower'; import { useTokenSymbol } from "../../hooks/tokens"; import { useFtsoPrice, useGhstPrice, useGhostedSupplyPrice } from "../../hooks/prices"; import { useLiveBonds } from "../../hooks/bonds/index"; +import pckg from "../../../package.json" const PREFIX = "NavContent"; @@ -84,6 +85,9 @@ const NavContent = ({ chainId, addressChainId }) => { component={GhostIcon} style={{ width: "150px", height: "150px" }} /> + + Version {pckg.version} +