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

)