diff --git a/src/components/grid/Grid.ts b/src/components/grid/Grid.ts index 79fd610..1d3379f 100644 --- a/src/components/grid/Grid.ts +++ b/src/components/grid/Grid.ts @@ -78,6 +78,9 @@ export class Grid implements m.Component { return children.map((col: m.Vnode) => { if (col == null || col.tag === '#') return; + if (typeof (col) !== 'object') + return col; + if (col.tag === '[') { return this.renderCols(col.children as m.ChildArray, gutter); }