From 88a393849bca871332882a36a42e0d53fa1399d2 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 22 Dec 2022 11:34:09 -0500 Subject: [PATCH] Remove usages of legacy global navigate Signed-off-by: Sebastian Malton --- src/common/catalog-entities/general.ts | 6 +++--- src/renderer/navigation/index.ts | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/common/catalog-entities/general.ts b/src/common/catalog-entities/general.ts index 2d3b404ee0..e81e59cc16 100644 --- a/src/common/catalog-entities/general.ts +++ b/src/common/catalog-entities/general.ts @@ -3,8 +3,8 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ -import { navigate } from "../../renderer/navigation"; import type { CatalogEntityMetadata, CatalogEntitySpec, CatalogEntityStatus } from "../catalog"; +import type { CatalogEntityActionContext } from "../catalog/catalog-entity"; import { CatalogCategory, CatalogEntity, categoryVersion } from "../catalog/catalog-entity"; interface GeneralEntitySpec extends CatalogEntitySpec { @@ -19,8 +19,8 @@ export class GeneralEntity extends CatalogEntity