Skip to content

Commit e78f4a7

Browse files
Fix error
1 parent c5101b5 commit e78f4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/admin/customSounds/NewSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function NewSound({ goToNew, close, onChange, ...props }) {
2525
const clickUpload = useFileInput(handleChangeFile, 'audio/mp3');
2626

2727
const saveAction = async (name, soundFile) => {
28-
const soundData = createSoundData(name, soundFile);
28+
const soundData = createSoundData(soundFile, name);
2929
const validation = validate(soundData, sound);
3030
if (validation.length === 0) {
3131
let soundId;

0 commit comments

Comments
 (0)