File tree Expand file tree Collapse file tree
create-diagram-dialog/components
edit-diagram-dialog/components
select-diagram-dialog/components Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } ;
Original file line number Diff line number Diff 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 } ;
Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments