Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
fix: inline prop utility prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj-10 committed Dec 4, 2023
1 parent a17c4fb commit 8a338c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/core/convert-utility-to-sx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const checkAndReturnUtilityProp = (
propPath: [reservedKeys[reservedKey].key],
value: propValue,
};
} else if (descendants.includes(reservedKey)) {
} else if (descendants && descendants.includes(reservedKey)) {
return {
propPath: [reservedKey],
value: propValue,
Expand Down

0 comments on commit 8a338c4

Please sign in to comment.