diff --git a/src/renderer/components/+preferences/preferences-navigation/navigate-to-preference-tab.injectable.ts b/src/renderer/components/+preferences/preferences-navigation/navigate-to-preference-tab.injectable.ts deleted file mode 100644 index 70b5da347c..0000000000 --- a/src/renderer/components/+preferences/preferences-navigation/navigate-to-preference-tab.injectable.ts +++ /dev/null @@ -1,21 +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 type { Route } from "../../../../common/front-end-routing/front-end-route-injection-token"; -import { navigateToRouteInjectionToken } from "../../../../common/front-end-routing/navigate-to-route-injection-token"; - -const navigateToPreferenceTabInjectable = getInjectable({ - id: "navigate-to-preference-tab", - - instantiate: (di) => { - const navigateToRoute = di.inject(navigateToRouteInjectionToken); - - return (route: Route) => () => { - navigateToRoute(route, { withoutAffectingBackButton: true }); - }; - }, -}); - -export default navigateToPreferenceTabInjectable;