mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
fix: stringify dependency
This commit is contained in:
parent
93ff72a052
commit
1a23e004a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue