diff --git a/src/main/application-update/tray-icons/update-is-ready-to-be-installed-tray-icon.injectable.ts b/src/main/application-update/tray-icons/update-is-ready-to-be-installed-tray-icon.injectable.ts index 75fd9f3820..7f097c0cbb 100644 --- a/src/main/application-update/tray-icons/update-is-ready-to-be-installed-tray-icon.injectable.ts +++ b/src/main/application-update/tray-icons/update-is-ready-to-be-installed-tray-icon.injectable.ts @@ -3,7 +3,6 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import { computed } from "mobx"; import getTrayIconPathInjectable from "../../tray/menu-icon/get-tray-icon-path.injectable"; import { trayIconInjectionToken } from "../../tray/menu-icon/tray-icon-injection-token"; import updateIsReadyToBeInstalledInjectable from "../update-is-ready-to-be-installed.injectable"; @@ -18,7 +17,7 @@ const updateIsReadyToBeInstalledTrayIconInjectable = getInjectable({ return { iconPath: getTrayIconPath("update-available"), priority: 1, - shouldBeShown: computed(() => updateIsReadyToBeInstalled.get()), + shouldBeShown: updateIsReadyToBeInstalled, }; },