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 b29ba40 commit e58686cCopy full SHA for e58686c
packages/core/src/v3/utils/flattenAttributes.ts
@@ -41,7 +41,7 @@ export function flattenAttributes(
41
}
42
43
// Check for circular reference
44
- if (typeof obj === "object" && seen.has(obj)) {
+ if (obj !== null && typeof obj === "object" && seen.has(obj)) {
45
result[prefix || ""] = CIRCULAR_REFERENCE_SENTINEL;
46
return result;
47
0 commit comments