Files
moeka-project/apps
Ilya Bogdanov 8ea98037e5 fix(composables): Correct inverted logic in version check causing infinite loop thus OOM (#421)
Corrects the `satisfiesVersionBy` logic in the `useVersionedLocalStorage` composable. The previous implementation (`v !== '1.0.2'`) was inverted, causing it to return `false` for the valid version. This triggered the `onVersionMismatch` handler, which reset the data, re-triggered the `watch` effect, and resulted in an infinite recursive update loop, crashing the application.

The condition has been changed to `v === '1.0.2' to correctly validate the version and prevent the loop.

I though this is tauri fault, but kek just silly mistake

Fix #414 #375 #400
2025-08-25 01:31:27 +08:00
..
2025-08-02 01:07:34 +08:00
2025-08-25 00:42:51 +08:00