We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4c0512 commit 3bda4b8Copy full SHA for 3bda4b8
1 file changed
apps/frontend/src/modules/song/components/client/SongForm.zod.ts
@@ -58,7 +58,7 @@ export const SongFormSchema = zod.object({
58
error: `Description must be less than ${UPLOAD_CONSTANTS.description.maxLength} characters`,
59
}),
60
thumbnailData: thumbnailDataSchema,
61
- customInstruments: zod.array(zod.string()),
+ customInstruments: zod.array(zod.string()).default([]),
62
license: zod
63
.enum(['none', ...licenses] as const)
64
.refine((v) => v !== 'none', {
0 commit comments