summaryrefslogtreecommitdiff
path: root/app/client/common/group.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-03 14:51:06 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-03 14:51:06 +0200
commit70551b5c0d32effb316a75d6bbe3c6807f8b4d05 (patch)
treea50470b6d74726ecdce0c66377841683de150cad /app/client/common/group.component.js
parenta450fa75edb927b7568b8a3198f9209c6a4c7f79 (diff)
margin
Diffstat (limited to 'app/client/common/group.component.js')
-rw-r--r--app/client/common/group.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/group.component.js b/app/client/common/group.component.js
index 5dc9ddf..8b74e36 100644
--- a/app/client/common/group.component.js
+++ b/app/client/common/group.component.js
@@ -3,7 +3,7 @@ import { h, Component } from 'preact'
export default function Group (props){
return (
<div className='group'>
- <h3>{this.props.title}</h3>
+ {this.props.title && <h3>{this.props.title}</h3>}
{this.props.children}
</div>
)