From 34e8d7152808fcb1221db4e132f2ae98dfd55b06 Mon Sep 17 00:00:00 2001 From: Oleksii Dykan Date: Fri, 15 Jun 2018 11:57:14 +0100 Subject: [PATCH] Add coma for the end component --- website/src/components/Playground/CodeComponentKit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {