mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 12:05:52 +01:00
cleanup
This commit is contained in:
@@ -43,9 +43,9 @@ const FileUpload: FC<Props> = ({ handleFile }) => {
|
||||
name="resume"
|
||||
onChange={(event: ChangeEvent<HTMLInputElement>) => {
|
||||
const uploadedFile = event?.target?.files![0];
|
||||
// @ts-ignore
|
||||
// @ts-ignore the uploaded file doesn't match our types
|
||||
setFile(uploadedFile);
|
||||
// @ts-ignore
|
||||
// @ts-ignore the uploaded file doesn't match our types
|
||||
handleFile(uploadedFile);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user