Skip to content

Commit 77be3fd

Browse files
author
Dimitar Fenerski
committed
chore: bump version to v0.0.8
1 parent 9cadd04 commit 77be3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ZoomableSnipImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function ZoomableSnipImage({ snip, maxHeight = '60vh', globalShortcuts =
2222
useEffect(() => {
2323
// eslint-disable-next-line react-hooks/set-state-in-effect -- intentional: reset derived state when snip changes
2424
setZoom(1)
25-
// eslint-disable-next-line react-hooks/set-state-in-effect -- intentional: clear stale size from previous snip
25+
2626
setContentSize(null)
2727
}, [snip.id])
2828

0 commit comments

Comments
 (0)