diff --git a/src/renderer/components/dock/create-resource/view.tsx b/src/renderer/components/dock/create-resource/view.tsx index 00221a7b32..163cc026b6 100644 --- a/src/renderer/components/dock/create-resource/view.tsx +++ b/src/renderer/components/dock/create-resource/view.tsx @@ -30,9 +30,8 @@ import navigateInjectable from "../../../navigation/navigate.injectable"; import type { RequestKubeObjectCreation } from "../../../../common/k8s-api/endpoints/resource-applier.api/request-update.injectable"; import requestKubeObjectCreationInjectable from "../../../../common/k8s-api/endpoints/resource-applier.api/request-update.injectable"; import loggerInjectable from "../../../../common/logger.injectable"; -import type { ShowCheckedErrorNotification } from "../../notifications/show-checked-error.injectable"; import showSuccessNotificationInjectable from "../../notifications/show-success-notification.injectable"; -import showCheckedErrorNotificationInjectable from "../../notifications/show-checked-error.injectable"; +import showErrorNotificationInjectable from "../../notifications/show-error-notification.injectable"; export interface CreateResourceProps { tabId: string; @@ -47,7 +46,7 @@ interface Dependencies { getDetailsUrl: GetDetailsUrl; requestKubeObjectCreation: RequestKubeObjectCreation; showSuccessNotification: ShowNotification; - showCheckedErrorNotification: ShowCheckedErrorNotification; + showErrorNotification: ShowNotification; } @observer @@ -96,7 +95,7 @@ class NonInjectedCreateResource extends React.Component navigate: di.inject(navigateInjectable), requestKubeObjectCreation: di.inject(requestKubeObjectCreationInjectable), showSuccessNotification: di.inject(showSuccessNotificationInjectable), - showCheckedErrorNotification: di.inject(showCheckedErrorNotificationInjectable), + showErrorNotification: di.inject(showErrorNotificationInjectable), }), });