Skip to content

Commit fbc35d2

Browse files
committed
fixup
1 parent af4935f commit fbc35d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/no-system-props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ const stylesMapfromSxProp = sxProp => {
7979
}
8080

8181
const stylesMapFromPropNodes = (badProps, context) => {
82-
return new Map(badProps.map(a => [a.name.name, a.value.raw ?? context.getSourceCode().getText(a.value.expression)]))
82+
return new Map(badProps.map(a => [a.name.name, a.value.raw || context.getSourceCode().getText(a.value.expression)]))
8383
}

0 commit comments

Comments
 (0)