You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments