mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
use decl.prop instead of undefined decl.name
While working on TypeScript types in the oxide version, I noticed that we used `decl.name`, which is not defined... oops!
This commit is contained in:
parent
5d4949845a
commit
fde30c307e
@ -412,7 +412,7 @@ function isParsableNode(node) {
|
||||
let isParsable = true
|
||||
|
||||
node.walkDecls((decl) => {
|
||||
if (!isParsableCssValue(decl.name, decl.value)) {
|
||||
if (!isParsableCssValue(decl.prop, decl.value)) {
|
||||
isParsable = false
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user