Skip to content

Commit

Permalink
fix: stringify dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Jan 3, 2024
1 parent 93ff72a commit 1a23e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/share-link/share-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function ShareLinkModal({ onClose, show }: ShareLinkModalProps) {
volume: sounds[sound].volume.toFixed(1),
}))
.filter(sound => sound.isSelected);
}, [sounds]);
}, [sounds, JSON.stringify(sounds)]); // eslint-disable-line

const string = useMemo(() => {
const object: Record<string, number> = {};
Expand Down

0 comments on commit 1a23e00

Please sign in to comment.