From b1aec17bad5cb2535091313e9f38bec9172d0bc4 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Thu, 9 Jun 2022 12:11:01 +0300 Subject: [PATCH] Remove updateAppInjectable Signed-off-by: Alex Andreev --- .../update-button/update-app.injectable.ts | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/renderer/components/update-button/update-app.injectable.ts diff --git a/src/renderer/components/update-button/update-app.injectable.ts b/src/renderer/components/update-button/update-app.injectable.ts deleted file mode 100644 index c185d5143a..0000000000 --- a/src/renderer/components/update-button/update-app.injectable.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright (c) OpenLens Authors. All rights reserved. - * Licensed under MIT License. See LICENSE in root directory for more information. - */ - -import { getInjectable } from "@ogre-tools/injectable"; -import { AutoUpdateQuitAndInstalledChannel } from "../../../common/ipc/update-available"; -import broadcastMessageInjectable from "../../../common/ipc/broadcast-message.injectable"; - -const updateAppInjectable = getInjectable({ - id: "update-app", - - instantiate: (di) => { - const broadcast = di.inject(broadcastMessageInjectable); - - return () => broadcast(AutoUpdateQuitAndInstalledChannel); - }, -}); - -export default updateAppInjectable;