Skip to content

Commit

Permalink
Fix lazy check
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodim committed Aug 28, 2024
1 parent c1e736a commit 4651430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bento-design-system/src/Layout/Columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function isColumn(child: ReactChild): child is ReactElement<ColumnProps> {
}

// Check if it is a lazy node (RSC)
if (isLazy(child.type)) {
if (isLazy(child)) {
return !!(child.type as any)._payload?.value?.includes("Column");
}

Expand Down

0 comments on commit 4651430

Please sign in to comment.