From 5c3337ce460357c322056a48e35dc038b5549e76 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 5 Oct 2021 15:04:29 -0400 Subject: [PATCH] Fix docs Signed-off-by: Sebastian Malton --- src/extensions/renderer-api/catalog.ts | 2 +- src/renderer/api/catalog-entity-registry.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/renderer-api/catalog.ts b/src/extensions/renderer-api/catalog.ts index e80533d0c3..389107c80d 100644 --- a/src/extensions/renderer-api/catalog.ts +++ b/src/extensions/renderer-api/catalog.ts @@ -51,7 +51,7 @@ export class CatalogEntityRegistry { } /** - * Add a onRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again + * Add a onBeforeRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again * @param catalogEntityUid The uid of the catalog entity * @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered. * @returns A function to remove that hook diff --git a/src/renderer/api/catalog-entity-registry.ts b/src/renderer/api/catalog-entity-registry.ts index a7dc280d2d..f9c59fce09 100644 --- a/src/renderer/api/catalog-entity-registry.ts +++ b/src/renderer/api/catalog-entity-registry.ts @@ -179,7 +179,7 @@ export class CatalogEntityRegistry { } /** - * Add a onRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again + * Add a onBeforeRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again * @param catalogEntityUid The uid of the catalog entity * @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered. * @returns A function to remove that hook