diff --git a/src/client/src/pages/overview/sidePanelContent/commons/actionsInterfaces.ts b/src/client/src/pages/overview/sidePanelContent/commons/actionsInterfaces.ts index 502d59889..98d55d4c8 100644 --- a/src/client/src/pages/overview/sidePanelContent/commons/actionsInterfaces.ts +++ b/src/client/src/pages/overview/sidePanelContent/commons/actionsInterfaces.ts @@ -22,7 +22,6 @@ export interface NewBoreholeProps extends WorkgroupSelectProps { export interface ImportContentProps { setSelectedFile: React.Dispatch>; - fileType: string | null; } export interface ImportModalProps extends ImportContentProps { diff --git a/src/client/src/pages/overview/sidePanelContent/importer/importModalContent.tsx b/src/client/src/pages/overview/sidePanelContent/importer/importModalContent.tsx index 2faea3732..a0a1b5f86 100644 --- a/src/client/src/pages/overview/sidePanelContent/importer/importModalContent.tsx +++ b/src/client/src/pages/overview/sidePanelContent/importer/importModalContent.tsx @@ -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(