Skip to content

Commit

Permalink
Update import modal content props
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehats committed Dec 19, 2024
1 parent 18f5477 commit a5814b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export interface NewBoreholeProps extends WorkgroupSelectProps {

export interface ImportContentProps {
setSelectedFile: React.Dispatch<React.SetStateAction<Blob[] | null>>;
fileType: string | null;
}

export interface ImportModalProps extends ImportContentProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ImportModalContent = ({
setSelectedFile,
setFileType,
fileType,
}: ImportContentProps & { setFileType: (type: string) => void }) => {
}: ImportContentProps & { setFileType: (type: string) => void } & { fileType: string | null }) => {
const { t } = useTranslation();

const handleCsvFileChange = useCallback(
Expand Down

0 comments on commit a5814b4

Please sign in to comment.