mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
The debounce effect depended on currentEntry (from the file store), but fetchPreview wrote back to the same store entry on completion. This created a loop: preview completes -> store updates -> new entry ref -> effect re-fires -> new preview. Fix by reading the file from a ref instead of reactive state, so the effect only triggers on actual settings changes (format, quality, dimensions, metadata toggle).