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 af4935f commit fbc35d2Copy full SHA for fbc35d2
src/rules/no-system-props.js
@@ -79,5 +79,5 @@ const stylesMapfromSxProp = sxProp => {
79
}
80
81
const stylesMapFromPropNodes = (badProps, context) => {
82
- return new Map(badProps.map(a => [a.name.name, a.value.raw ?? context.getSourceCode().getText(a.value.expression)]))
+ return new Map(badProps.map(a => [a.name.name, a.value.raw || context.getSourceCode().getText(a.value.expression)]))
83
0 commit comments