diff --git a/src/common/utils/reject-promise.ts b/src/common/utils/reject-promise.ts index 3aa7d402b2..a263ce4489 100644 --- a/src/common/utils/reject-promise.ts +++ b/src/common/utils/reject-promise.ts @@ -1,4 +1,4 @@ -import { AbortSignal } from "abort-controller"; +import "abort-controller/polyfill"; /** * Creates a new promise that will be rejected when the signal rejects. diff --git a/src/renderer/kube-object.store.ts b/src/renderer/kube-object.store.ts index 836a2bef52..9959559fa1 100644 --- a/src/renderer/kube-object.store.ts +++ b/src/renderer/kube-object.store.ts @@ -9,7 +9,6 @@ import { apiManager } from "./api/api-manager"; import { IKubeApiQueryParams, KubeApi, parseKubeApi } from "./api/kube-api"; import { KubeJsonApiData } from "./api/kube-json-api"; import { Notifications } from "./components/notifications"; -import { AbortController } from "abort-controller"; export interface KubeObjectStoreLoadingParams { namespaces: string[];