Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Nov 5, 2020
2 parents b45c210 + 42c72b6 commit 17c74c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/utils/serializeNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const serializeComp = (
let { type, isCanvas, props } = data;
props = Object.keys(props).reduce((result: Record<string, any>, key) => {
const prop = props[key];
if (!prop) {

if (prop === undefined || prop === null) {
return result;
}

Expand Down

0 comments on commit 17c74c7

Please sign in to comment.