Skip to content

Commit

Permalink
Ensure file type resets when import modal closes (#1783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehats authored Dec 20, 2024
2 parents 13b7c8f + e1918d6 commit 5de5628
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const ImportModal = ({

const handleFormSubmit = async () => {
setCreating(true);
setFileType("");
handleBoreholeImport();
};

Expand All @@ -85,6 +86,7 @@ const ImportModal = ({
key="sb-em-5"
onClose={() => {
setModal(false);
setFileType("");
}}
open={modal}
size="large">
Expand Down

0 comments on commit 5de5628

Please sign in to comment.