From 30ece39d22ceeab17a971dcc718904f3bc75beb8 Mon Sep 17 00:00:00 2001 From: pushkin Date: Fri, 30 Oct 2020 21:36:16 +0100 Subject: [PATCH] Update add_actions.ts --- src/compiler/compile/render_dom/wrappers/shared/add_actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/render_dom/wrappers/shared/add_actions.ts b/src/compiler/compile/render_dom/wrappers/shared/add_actions.ts index 6ca7de9a22..20683f1c2a 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/add_actions.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/add_actions.ts @@ -48,7 +48,7 @@ export function add_action(block: Block, target: string, action: Action) { } block.chunks.update.push( - b`if (${condition}) ${id}.update.call(null, ${snippet});` + b`if (${condition}) ${id}.update(${snippet});` ); } }