mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
fix: increase decimal
This commit is contained in:
parent
b8bc9c8b4c
commit
a33ae450cf
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export function ShareLinkModal({ onClose, show }: ShareLinkModalProps) {
|
||||||
.map(sound => ({
|
.map(sound => ({
|
||||||
id: sound,
|
id: sound,
|
||||||
isSelected: sounds[sound].isSelected,
|
isSelected: sounds[sound].isSelected,
|
||||||
volume: sounds[sound].volume.toFixed(1),
|
volume: sounds[sound].volume.toFixed(2),
|
||||||
}))
|
}))
|
||||||
.filter(sound => sound.isSelected);
|
.filter(sound => sound.isSelected);
|
||||||
}, [sounds, JSON.stringify(sounds)]); // eslint-disable-line
|
}, [sounds, JSON.stringify(sounds)]); // eslint-disable-line
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue