1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove unused dependency

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-07-19 09:39:21 +03:00
parent c74ac99a86
commit e3c0dccdf5
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -19,8 +19,6 @@ import { Tooltip, withStyles } from "@material-ui/core";
import type { IAsyncComputed } from "@ogre-tools/injectable-react"; import type { IAsyncComputed } from "@ogre-tools/injectable-react";
import { withInjectables } from "@ogre-tools/injectable-react"; import { withInjectables } from "@ogre-tools/injectable-react";
import createInstallChartTabInjectable from "../dock/install-chart/create-install-chart-tab.injectable"; import createInstallChartTabInjectable from "../dock/install-chart/create-install-chart-tab.injectable";
import type { ShowCheckedErrorNotification } from "../notifications/show-checked-error.injectable";
import showCheckedErrorNotificationInjectable from "../notifications/show-checked-error.injectable";
import { HelmChartIcon } from "./icon"; import { HelmChartIcon } from "./icon";
import readmeOfSelectHelmChartInjectable from "./details/readme-of-selected-helm-chart.injectable"; import readmeOfSelectHelmChartInjectable from "./details/readme-of-selected-helm-chart.injectable";
import versionsOfSelectedHelmChartInjectable from "./details/versions-of-selected-helm-chart.injectable"; import versionsOfSelectedHelmChartInjectable from "./details/versions-of-selected-helm-chart.injectable";
@ -41,7 +39,6 @@ const LargeTooltip = withStyles({
interface Dependencies { interface Dependencies {
createInstallChartTab: (helmChart: HelmChart) => void; createInstallChartTab: (helmChart: HelmChart) => void;
showCheckedErrorNotification: ShowCheckedErrorNotification;
versions: IAsyncComputed<HelmChart[]>; versions: IAsyncComputed<HelmChart[]>;
readme: IAsyncComputed<string>; readme: IAsyncComputed<string>;
versionSelection: HelmChartDetailsVersionSelection; versionSelection: HelmChartDetailsVersionSelection;
@ -189,7 +186,6 @@ export const HelmChartDetails = withInjectables<Dependencies, HelmChartDetailsPr
getProps: (di, props) => ({ getProps: (di, props) => ({
...props, ...props,
createInstallChartTab: di.inject(createInstallChartTabInjectable), createInstallChartTab: di.inject(createInstallChartTabInjectable),
showCheckedErrorNotification: di.inject(showCheckedErrorNotificationInjectable),
readme: di.inject(readmeOfSelectHelmChartInjectable, props.chart), readme: di.inject(readmeOfSelectHelmChartInjectable, props.chart),
versions: di.inject(versionsOfSelectedHelmChartInjectable, props.chart), versions: di.inject(versionsOfSelectedHelmChartInjectable, props.chart),
versionSelection: di.inject(helmChartDetailsVersionSelectionInjectable, props.chart), versionSelection: di.inject(helmChartDetailsVersionSelectionInjectable, props.chart),