File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/frontend/src/modules/song-edit/components/client/context Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
useForm ,
11
11
} from 'react-hook-form' ;
12
12
import toaster from 'react-hot-toast' ;
13
- import { undefined } from 'zod' ;
13
+ import { undefined as zodUndefined } from 'zod' ;
14
14
15
15
import type { UploadSongDtoType } from '@nbw/database' ;
16
16
import { parseSongFromBuffer } from '@nbw/song' ;
@@ -147,7 +147,7 @@ export const EditSongProvider = ({
147
147
license : formMethods . getValues ( ) . license as UploadSongDtoType [ 'license' ] ,
148
148
category : formMethods . getValues ( )
149
149
. category as UploadSongDtoType [ 'category' ] ,
150
- file : undefined ,
150
+ file : zodUndefined ,
151
151
} ;
152
152
153
153
// TODO: this comparison is not needed. Use isDirty field from react-hook-form
You can’t perform that action at this time.
0 commit comments