mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
fix(import): Changing 'Filetype' clears the 'File' upload field properly
This commit is contained in:
@ -256,7 +256,7 @@ export const ImportDialog = () => {
|
||||
<FormControl>
|
||||
<Input
|
||||
type="file"
|
||||
key={accept}
|
||||
key={`${accept}-${filetype}`}
|
||||
accept={accept}
|
||||
onChange={(event) => {
|
||||
if (!event.target.files || !event.target.files.length) return;
|
||||
|
||||
Reference in New Issue
Block a user