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 7ab4807 commit 9fdacdbCopy full SHA for 9fdacdb
packages/gatsby-theme-aio/src/components/Table/index.js
@@ -76,7 +76,7 @@ const THead = ({ children, ...props }) => {
76
const Th = ({ children }) => <th className="spectrum-Table-headCell">{children}</th>;
77
78
const TBody = ({ children, ...props }) => {
79
- const childrenArr = children.length > 1 ? children : [children];
+ const childrenArr = Array.isArray(children) ? children : [children];
80
return (
81
<tbody
82
className="spectrum-Table-body"
0 commit comments