We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5101b5 commit e78f4a7Copy full SHA for e78f4a7
client/admin/customSounds/NewSound.js
@@ -25,7 +25,7 @@ export function NewSound({ goToNew, close, onChange, ...props }) {
25
const clickUpload = useFileInput(handleChangeFile, 'audio/mp3');
26
27
const saveAction = async (name, soundFile) => {
28
- const soundData = createSoundData(name, soundFile);
+ const soundData = createSoundData(soundFile, name);
29
const validation = validate(soundData, sound);
30
if (validation.length === 0) {
31
let soundId;
0 commit comments