mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 00:32:35 +10:00
Merge pull request #1771 from iammursal/main
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