aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Hivert <hivert.is.coming@gmail.com>2024-04-17 12:04:29 +0200
committerGitHub <noreply@github.com>2024-04-17 11:04:29 +0100
commit825c52c431b3768e563b2b595f3fb703e37ebdf4 (patch)
tree657efa0dc8f36441cfc9710d241262a0cbba50b1 /src
parenta0b9c470dd7c8f8a8718d64170c56e895dbbd815 (diff)
downloadlustre-825c52c431b3768e563b2b595f3fb703e37ebdf4.tar.gz
lustre-825c52c431b3768e563b2b595f3fb703e37ebdf4.zip
🔀 Fixed bug where stale model was used in ForceModel debug action. (#108)
Diffstat (limited to 'src')
-rw-r--r--src/client-runtime.ffi.mjs2
1 files changed, 1 insertions, 1 deletions
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);