chore: lint
This commit is contained in:
@@ -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>) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user