diff --git a/public/components/sections/BodySection.jsx b/public/components/sections/BodySection.jsx index 436193a..03bd90d 100644 --- a/public/components/sections/BodySection.jsx +++ b/public/components/sections/BodySection.jsx @@ -18,13 +18,21 @@ class BodySection extends React.Component { } render() { + let children; + + if(this.props.children) { + children = ( +
+ {this.props.children} +
+ ); + } + return (
{ this.props.title } -
- {this.props.children} -
+ { children }
)