From c71794b39470754b36db15f5d87156fef8f15939 Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Wed, 4 Jan 2023 20:57:24 +0100 Subject: [PATCH] Fix the dataverse error --- theatre/core/src/sheetObjects/SheetObjectTemplate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theatre/core/src/sheetObjects/SheetObjectTemplate.ts b/theatre/core/src/sheetObjects/SheetObjectTemplate.ts index 61c530c..77162fe 100644 --- a/theatre/core/src/sheetObjects/SheetObjectTemplate.ts +++ b/theatre/core/src/sheetObjects/SheetObjectTemplate.ts @@ -109,7 +109,7 @@ export default class SheetObjectTemplate { } registerAction(name: string, action: SheetObjectAction) { - this._actions.setIn([name], action) + this._actions.setByPointer((p) => p[name], action) } /**