We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd0730 commit 3102b01Copy full SHA for 3102b01
app/src/redux/reducers/slice/appStateSlice.ts
@@ -336,8 +336,8 @@ const appStateSlice = createSlice({
336
// if the childId is null, this signifies that we are adding a child to the top-level component rather than another child element
337
// we also add a separator before any new child
338
// if the newChild Element is an input or img type, delete the children key/value pair
339
- if (newChild.name === 'input' && newChild.name === 'img')
340
- delete newChild.children;
+ // if (newChild.name === 'input' && newChild.name === 'img')
+ // delete newChild.children;
341
let directParent;
342
if (childId === null) {
343
parentComponent.children.push(topSeparator);
0 commit comments