From 3f0de68c968be3d07e9cda8259c4c17a92d0f8c2 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 24 Oct 2023 21:21:37 +0700 Subject: [PATCH] Fix app version --- web/containers/BottomBar/index.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/web/containers/BottomBar/index.tsx b/web/containers/BottomBar/index.tsx index bb668f452..a69a0de4b 100644 --- a/web/containers/BottomBar/index.tsx +++ b/web/containers/BottomBar/index.tsx @@ -1,18 +1,15 @@ import React from 'react' import SystemItem from '@containers/SystemItem' -import { useAtomValue } from 'jotai' -import useGetAppVersion from '@hooks/useGetAppVersion' import useGetSystemResources from '@hooks/useGetSystemResources' +import { useAtomValue } from 'jotai' import { modelDownloadStateAtom } from '@helpers/atoms/DownloadState.atom' import { formatDownloadPercentage } from '@utils/converter' import { activeAssistantModelAtom } from '@helpers/atoms/Model.atom' const BottomBar = () => { const activeModel = useAtomValue(activeAssistantModelAtom) - const { version } = useGetAppVersion() const { ram, cpu } = useGetSystemResources() const modelDownloadStates = useAtomValue(modelDownloadStateAtom) - const getCurrentYear = new Date().getFullYear() const downloadStates: DownloadState[] = [] for (const [, value] of Object.entries(modelDownloadStates)) { @@ -35,9 +32,7 @@ const BottomBar = () => {
-

- ©{getCurrentYear} Jan AI Pte Ltd. v{version} -

+

Jan v0.2.0

)