diff --git a/src/components/molecules/IntegrationSettings.tsx b/src/components/molecules/IntegrationSettings.tsx index 7a91c804..d7bdcba9 100644 --- a/src/components/molecules/IntegrationSettings.tsx +++ b/src/components/molecules/IntegrationSettings.tsx @@ -6,7 +6,7 @@ import { modalStyle } from "./AddWhereCondModal"; interface IntegrationProps { isOpen: boolean; - handleSubmit: (data: IntegrationSettings) => void; + handleStart: (data: IntegrationSettings) => void; handleClose: () => void; } @@ -17,7 +17,7 @@ export interface IntegrationSettings { data: string; } -export const IntegrationSettingsModal = ({ isOpen, handleSubmit, handleClose }: IntegrationProps) => { +export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: IntegrationProps) => { const [settings, setSettings] = useState({ credentials: '', @@ -83,7 +83,7 @@ export const IntegrationSettingsModal = ({ isOpen, handleSubmit, handleClose }: fullWidth /> -