File tree 1 file changed +6
-1
lines changed
app/routes/users+/$username_+
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,10 @@ function ImageChooser({
225
225
</ div >
226
226
) }
227
227
{ existingImage ? (
228
- < input { ...getInputProps ( fields . id , { type : 'hidden' } ) } />
228
+ < input
229
+ { ...getInputProps ( fields . id , { type : 'hidden' } ) }
230
+ key = { fields . id . key }
231
+ />
229
232
) : null }
230
233
< input
231
234
aria-label = "Image"
@@ -245,6 +248,7 @@ function ImageChooser({
245
248
} }
246
249
accept = "image/*"
247
250
{ ...getInputProps ( fields . file , { type : 'file' } ) }
251
+ key = { fields . file . key }
248
252
/>
249
253
</ label >
250
254
</ div >
@@ -257,6 +261,7 @@ function ImageChooser({
257
261
< Textarea
258
262
onChange = { ( e ) => setAltText ( e . currentTarget . value ) }
259
263
{ ...getTextareaProps ( fields . altText ) }
264
+ key = { fields . altText . key }
260
265
/>
261
266
< div className = "min-h-[32px] px-4 pt-1 pb-3" >
262
267
< ErrorList
You can’t perform that action at this time.
0 commit comments