From 825c52c431b3768e563b2b595f3fb703e37ebdf4 Mon Sep 17 00:00:00 2001 From: Guillaume Hivert Date: Wed, 17 Apr 2024 12:04:29 +0200 Subject: =?UTF-8?q?=F0=9F=94=80=20Fixed=20bug=20where=20stale=20model=20wa?= =?UTF-8?q?s=20used=20in=20ForceModel=20debug=20action.=20(#108)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client-runtime.ffi.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client-runtime.ffi.mjs b/src/client-runtime.ffi.mjs index ecca48f..ddec03d 100644 --- a/src/client-runtime.ffi.mjs +++ b/src/client-runtime.ffi.mjs @@ -127,7 +127,7 @@ export class LustreClientApplication { #debug(action) { switch (true) { case action instanceof ForceModel: { - const vdom = this.#view(this.#model); + const vdom = this.#view(action[0]); const dispatch = (handler) => (e) => { const result = handler(e); -- cgit v1.2.3