Skip to content

Commit 7569a0b

Browse files
committed
fix: song instrument array overwritten with empty string after load
1 parent 8cec302 commit 7569a0b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

web/src/modules/song-upload/components/client/context/UploadSong.context.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ export const UploadSongProvider = ({
232232
bgColors[colorKeys[randomColor]].dark,
233233
);
234234

235-
formMethods.setValue(
236-
'customInstruments',
237-
Array(song.instruments.length).fill(''),
238-
);
239-
240235
formMethods.setValue('allowDownload', true);
241236

242237
// disable allowDownload

0 commit comments

Comments
 (0)