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 07e1341 commit f63c7ffCopy full SHA for f63c7ff
ui/App/views/Saves/components/UploadSaveForm.jsx
@@ -25,7 +25,7 @@ const UploadSaveForm = ({onSuccess}) => {
25
<div className="relative bg-white shadow text-black w-full">
26
<input
27
className="absolute left-0 top-0 opacity-0 cursor-pointer w-full h-full"
28
- register={register('savefile', {required: true})}
+ {...register('savefile', {required: true})}
29
onChange={e => setFileName(e.currentTarget.files[0].name)}
30
type="file"/>
31
<div className="px-2 py-3">{fileName}</div>
0 commit comments