diff --git a/src/pages/Main/index.tsx b/src/pages/Main/index.tsx index 1dc6c2a1..3debd7b7 100644 --- a/src/pages/Main/index.tsx +++ b/src/pages/Main/index.tsx @@ -13,8 +13,10 @@ import { Button, Typography, Tooltip, IconButton as IconButtonRaw } from '@mater import { Settings as SettingsIcon, Upgrade as UpgradeIcon } from '@material-ui/icons'; import { WindowNames } from '@services/windows/WindowProperties'; +import { IUpdaterStatus } from '@services/updater/interface'; import { usePromiseValue } from '@/helpers/useServiceValue'; +import { useUpdaterObservable } from '@services/updater/hooks'; import WorkspaceSelector from './WorkspaceSelector'; import FindInPage from '../../components/FindInPage'; @@ -208,6 +210,7 @@ export default function Main(): JSX.Element { const activeWorkspaceMetadata = workspacesList ?.map((workspace) => ({ active: workspace.active, ...workspace.metadata })) ?.find((workspace) => workspace.active); + const updaterMetaData = useUpdaterObservable(); if (preferences === undefined) return