Skip to content

Commit ccad067

Browse files
committed
removed react-native from dependencies
1 parent ed87ec7 commit ccad067

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
"react-dom": "^16.4.1",
144144
"react-draggable": "^3.0.5",
145145
"react-konva": "^16.12.0-0",
146-
"react-native": "^0.62.1",
147146
"react-redux": "^5.0.7",
148147
"react-simple-code-editor": "^0.11.0",
149148
"react-sortable-tree": "^2.2.0",

src/reducers/leftReducers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const addChild = (
3535
// 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
3636
!nativeComponentTypes.includes(childType) && childType !== 'COMP'
3737
? (childType = 'HTML')
38-
: childType = childType === 'COMP' ? 'COMP' : 'NATIVE';
38+
: (childType = childType === 'COMP' ? 'COMP' : 'NATIVE');
3939

4040
// view represents the curretn FOCUSED COMPONENT - this is the component where the child is being added to
4141
// we only add childrent (or do any action) to the focused omconent
@@ -302,7 +302,7 @@ export const deleteChild = (
302302
however when deleting component we wnt to delete ALL the places where it's used, so we call this function
303303
Also when calling from DELETE components , we do not touch focusComponent.
304304
************************************************************************************ */
305-
console.log('TESTTTTTTTTTTTTTTT');
305+
306306
if (!parentId) {
307307
window.alert('Cannot delete root child of a component');
308308
return state;

0 commit comments

Comments
 (0)