mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 09:03:12 +08:00
fix: stringify dependency
This commit is contained in:
@@ -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> = {};
|
||||
|
||||
Reference in New Issue
Block a user