Skip to content

Commit acabf63

Browse files
committed
fixed formating in the code preview
1 parent 468b821 commit acabf63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/componentRender.util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ const componentRender = (component: ComponentInt, components: ComponentsInt) =>
151151
}
152152
${classBased ? `render(): JSX.Element {` : ``}
153153
const {${props.map(el => el.key).join(', ')}} = ${classBased ? `this.props` : `props`};
154+
154155
return (
155156
<div>
156157
${cloneDeep(childrenArray)

0 commit comments

Comments
 (0)