diff --git a/website/src/components/Playground/CodeComponentKit.js b/website/src/components/Playground/CodeComponentKit.js index e51400c9..9dd71a2f 100644 --- a/website/src/components/Playground/CodeComponentKit.js +++ b/website/src/components/Playground/CodeComponentKit.js @@ -139,7 +139,7 @@ function getLayoutCode( ); lines.push(indent + `}]${isRoot ? ';' : ','}`); } else { - lines[lines.length - 1] += ']'; + lines[lines.length - 1] += '],'; CKFlexboxComponentChild.forEach(key => { let line = renderKey(node, key, indent); if (line) {