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 1143bf6 commit cf73a69Copy full SHA for cf73a69
packages/core/src/utils/serializeNode.tsx
@@ -17,7 +17,8 @@ export const serializeComp = (
17
let { type, isCanvas, props } = data;
18
props = Object.keys(props).reduce((result: Record<string, any>, key) => {
19
const prop = props[key];
20
- if (!prop) {
+
21
+ if (prop === undefined || prop === null) {
22
return result;
23
}
24
0 commit comments