aboutsummaryrefslogtreecommitdiff
path: root/src/client-runtime.ffi.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client-runtime.ffi.mjs')
-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 562f9c4..cf5e7a5 100644
--- a/src/client-runtime.ffi.mjs
+++ b/src/client-runtime.ffi.mjs
@@ -105,7 +105,7 @@ export class LustreClientApplication {
while (this.#queue.length) {
const [next, effects] = this.#update(this.#model, this.#queue.shift());
- this.#didUpdate ||= this.#model === next;
+ this.#didUpdate ||= this.#model !== next;
this.#model = next;
this.#effects = this.#effects.concat(effects.all.toArray());
}