File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 143
143
"react-dom" : " ^16.4.1" ,
144
144
"react-draggable" : " ^3.0.5" ,
145
145
"react-konva" : " ^16.12.0-0" ,
146
- "react-native" : " ^0.62.1" ,
147
146
"react-redux" : " ^5.0.7" ,
148
147
"react-simple-code-editor" : " ^0.11.0" ,
149
148
"react-sortable-tree" : " ^2.2.0" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const addChild = (
35
35
// if childType is NOT included in the array of NATIVE React types && also not coming from left panel then the childType will revert to HTML
36
36
! nativeComponentTypes . includes ( childType ) && childType !== 'COMP'
37
37
? ( childType = 'HTML' )
38
- : childType = childType === 'COMP' ? 'COMP' : 'NATIVE' ;
38
+ : ( childType = childType === 'COMP' ? 'COMP' : 'NATIVE' ) ;
39
39
40
40
// view represents the curretn FOCUSED COMPONENT - this is the component where the child is being added to
41
41
// we only add childrent (or do any action) to the focused omconent
@@ -302,7 +302,7 @@ export const deleteChild = (
302
302
however when deleting component we wnt to delete ALL the places where it's used, so we call this function
303
303
Also when calling from DELETE components , we do not touch focusComponent.
304
304
************************************************************************************ */
305
- console . log ( 'TESTTTTTTTTTTTTTTT' ) ;
305
+
306
306
if ( ! parentId ) {
307
307
window . alert ( 'Cannot delete root child of a component' ) ;
308
308
return state ;
You can’t perform that action at this time.
0 commit comments