From 01add80075b0bdaab916e3ce00d841db6336adb5 Mon Sep 17 00:00:00 2001 From: Oleksii Dykan Date: Fri, 15 Jun 2018 11:43:09 +0100 Subject: [PATCH] Add coma in the end of child 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 0da0f13d..e51400c9 100644 --- a/website/src/components/Playground/CodeComponentKit.js +++ b/website/src/components/Playground/CodeComponentKit.js @@ -137,7 +137,7 @@ function getLayoutCode( )}\n${indent}\t},`, ), ); - lines.push(indent + `}]${isRoot ? ';' : ''}`); + lines.push(indent + `}]${isRoot ? ';' : ','}`); } else { lines[lines.length - 1] += ']'; CKFlexboxComponentChild.forEach(key => {