Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit 231900d

Browse files
committed
Get tests passing
1 parent c452653 commit 231900d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ function parseLegacyStyles(styles) {
419419
}
420420

421421
return styles.flatMap((style) => {
422-
let isNode = !isPlainObject(style)
422+
let isNode = !Array.isArray(style) && !isPlainObject(style)
423423
return isNode ? style : parseObjectStyles(style)
424424
})
425425
}

0 commit comments

Comments
 (0)