fix: increase decimal

This commit is contained in:
MAZE 2024-01-09 15:59:57 +03:30
parent b8bc9c8b4c
commit a33ae450cf

View file

@ -23,7 +23,7 @@ export function ShareLinkModal({ onClose, show }: ShareLinkModalProps) {
.map(sound => ({
id: sound,
isSelected: sounds[sound].isSelected,
volume: sounds[sound].volume.toFixed(1),
volume: sounds[sound].volume.toFixed(2),
}))
.filter(sound => sound.isSelected);
}, [sounds, JSON.stringify(sounds)]); // eslint-disable-line