mirror of
https://github.com/remvze/moodist.git
synced 2025-09-29 15:30:49 -04:00
fix: stringify dependency
This commit is contained in:
parent
93ff72a052
commit
1a23e004a6
@ -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> = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user