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 47336af commit d259a34Copy full SHA for d259a34
packages/core/src/utils/serializeNode.tsx
@@ -20,7 +20,7 @@ export const serializeComp = (
20
props = Object.keys(props).reduce((result: Record<string, any>, key) => {
21
const prop = props[key];
22
23
- if (prop === undefined || prop === null) {
+ if (prop === undefined || prop === null || typeof prop === 'function') {
24
return result;
25
}
26
0 commit comments