From 2c6a4451525d62d7fbeee0e7bc6d34eef316d746 Mon Sep 17 00:00:00 2001 From: Mavrik Date: Mon, 25 Sep 2023 13:15:06 +0200 Subject: [PATCH] feat: added a variable to manage siren version id --- src/constants/version.ts | 1 + src/views/DashBoard/Content/MainContent.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/constants/version.ts diff --git a/src/constants/version.ts b/src/constants/version.ts new file mode 100644 index 00000000..377176d3 --- /dev/null +++ b/src/constants/version.ts @@ -0,0 +1 @@ +export const sirenVersion = 'v1.0.0' diff --git a/src/views/DashBoard/Content/MainContent.tsx b/src/views/DashBoard/Content/MainContent.tsx index 8875d71d..d980b0fb 100644 --- a/src/views/DashBoard/Content/MainContent.tsx +++ b/src/views/DashBoard/Content/MainContent.tsx @@ -21,6 +21,7 @@ import useLocalStorage from '../../../hooks/useLocalStorage' import { UsernameStorage } from '../../../types/storage' import DashboardOptions from '../../../components/DashboardOptions/DashboardOptions' import PillIcon from '../../../components/PillIcon/PillIcon' +import { sirenVersion } from '../../../constants/version' const MainContent = () => { const { t } = useTranslation() @@ -52,7 +53,7 @@ const MainContent = () => { {t('lighthouseUiVersion')} - +