chore: lint

This commit is contained in:
karishmas6
2024-10-17 17:35:33 +05:30
parent 297acf7e86
commit 6401fae8f7

View File

@@ -62,7 +62,7 @@ export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: I
}; };
// Function to send the selected sheet ID to the backend to update the robot's google_sheet_id // Function to send the selected sheet ID to the backend to update the robot's google_sheet_id
const updateGoogleSheetId = async () => { const updateGoogleSheetId = async () => {
try { try {
const response = await axios.post( const response = await axios.post(
`http://localhost:8080/auth/gsheets/update`, `http://localhost:8080/auth/gsheets/update`,
@@ -73,8 +73,7 @@ const updateGoogleSheetId = async () => {
} catch (error: any) { } catch (error: any) {
console.error('Error updating Google Sheet ID:', error.response?.data?.message || error.message); console.error('Error updating Google Sheet ID:', error.response?.data?.message || error.message);
} }
}; };
// Handle spreadsheet selection // Handle spreadsheet selection
const handleSpreadsheetSelect = (e: React.ChangeEvent<HTMLInputElement>) => { const handleSpreadsheetSelect = (e: React.ChangeEvent<HTMLInputElement>) => {