diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2024-06-12 17:03:29 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2024-06-12 17:03:29 +0100 |
commit | 44d0df313ff48315161a67006a60265139eecab8 (patch) | |
tree | 3f3b32686f5f96a8621592b68ca8dadf672df5cf | |
parent | 751e81923198c9e0a840540ff7f2d2d205f3500e (diff) | |
download | lustre-44d0df313ff48315161a67006a60265139eecab8.tar.gz lustre-44d0df313ff48315161a67006a60265139eecab8.zip |
:bug: Fixed a bug where updates were almost never processed. Oops.
-rw-r--r-- | src/client-runtime.ffi.mjs | 2 |
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()); } |