Skip to content

Commit

Permalink
🐛 Add missing clear handler for app import
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Sep 25, 2023
1 parent a89c4e5 commit 5f416ea
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ export const ImportApplicationsForm: React.FC<ImportApplicationsFormProps> = ({
accept: { "text/csv": [".csv"] },
onDropRejected: handleFileRejected,
}}
onClearClick={() => {
setFile(undefined);
}}
/>
{isFileRejected && (
<FormHelperText>
Expand Down

0 comments on commit 5f416ea

Please sign in to comment.