Skip to content

Commit

Permalink
feat(fe-piattaforma): rimozione file formato errato 20240925
Browse files Browse the repository at this point in the history
  • Loading branch information
federico-tocci-dxc committed Sep 25, 2024
1 parent 5597367 commit a38b470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fe-piattaforma/src/hooks/useFileProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ export function useFileProcessor(file: File | undefined, removeFile: () => void)
}
}else{
setIsProcessing(false);
removeFile();
rejectWithMessage(
'Tipo file non supportato.'
);
Expand Down

0 comments on commit a38b470

Please sign in to comment.