From a2d04b3d5b03e8417aacc81df3572f0fc80c7f59 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 17 Sep 2024 20:25:10 +0530 Subject: [PATCH] chore: lint --- .../molecules/IntegrationSettings.tsx | 140 +++++++++--------- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/src/components/molecules/IntegrationSettings.tsx b/src/components/molecules/IntegrationSettings.tsx index d7bdcba9..c8c64169 100644 --- a/src/components/molecules/IntegrationSettings.tsx +++ b/src/components/molecules/IntegrationSettings.tsx @@ -5,88 +5,88 @@ import Button from "@mui/material/Button"; import { modalStyle } from "./AddWhereCondModal"; interface IntegrationProps { - isOpen: boolean; - handleStart: (data: IntegrationSettings) => void; - handleClose: () => void; + isOpen: boolean; + handleStart: (data: IntegrationSettings) => void; + handleClose: () => void; } export interface IntegrationSettings { - credentials: string; - spreadsheetId: string; - range: string; - data: string; + credentials: string; + spreadsheetId: string; + range: string; + data: string; } export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: IntegrationProps) => { - const [settings, setSettings] = useState({ - credentials: '', - spreadsheetId: '', - range: '', - data: '', - }); + const [settings, setSettings] = useState({ + credentials: '', + spreadsheetId: '', + range: '', + data: '', + }); - const handleChange = (field: keyof IntegrationSettings) => (e: React.ChangeEvent) => { - setSettings({ ...settings, [field]: e.target.value }); - }; + const handleChange = (field: keyof IntegrationSettings) => (e: React.ChangeEvent) => { + setSettings({ ...settings, [field]: e.target.value }); + }; - return ( - -
- Google Sheets Integration + return ( + +
+ Google Sheets Integration - + - + - + - + - -
-
- ); + +
+
+ ); };