Skip to content

Commit a1d1b83

Browse files
committed
Fix lint issue
1 parent f50c691 commit a1d1b83

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/client/create-diagram-dialog/components/create-diagram-dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ const CreateDiagramDialog = () => {
2828
console.log('Already inserting diagram, ignoring duplicate click');
2929
return;
3030
}
31-
31+
3232
setIsInserting(true);
33-
33+
3434
const data = e.data.data;
3535
const metadata = new URLSearchParams({
3636
projectID: data.projectID,
@@ -48,7 +48,7 @@ const CreateDiagramDialog = () => {
4848
} catch (error) {
4949
console.error('Error inserting image with metadata', error);
5050
showAlertDialog('Error inserting image, please try again');
51-
setIsInserting(false);
51+
setIsInserting(false);
5252
}
5353
}
5454
};

src/client/edit-diagram-dialog/components/edit-diagram-dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ const EditDiagramDialog = () => {
4646
if (isUpdating) {
4747
return;
4848
}
49-
49+
5050
setIsUpdating(true);
51-
51+
5252
const data = e.data.data;
5353
const metadata = new URLSearchParams({
5454
projectID: data.projectID,
@@ -65,7 +65,7 @@ const EditDiagramDialog = () => {
6565
} catch (error) {
6666
console.error('Error updating image with metadata', error);
6767
showAlertDialog('Error updating image, please try again');
68-
setIsUpdating(false);
68+
setIsUpdating(false);
6969
}
7070
}
7171
};

src/client/select-diagram-dialog/components/select-diagram-dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ const SelectDiagramDialog = () => {
3737
console.log('Already inserting diagram, ignoring duplicate click');
3838
return;
3939
}
40-
40+
4141
setIsInserting(true);
42-
42+
4343
const data = e.data.data;
4444
const metadata = new URLSearchParams({
4545
projectID: data.projectID,
@@ -57,7 +57,7 @@ const SelectDiagramDialog = () => {
5757
} catch (error) {
5858
showAlertDialog('Error inserting image, please try again');
5959
console.error('Error inserting image with metadata', error);
60-
setIsInserting(false);
60+
setIsInserting(false);
6161
}
6262
}
6363
};

0 commit comments

Comments
 (0)