fixed wrong subtitle

This commit is contained in:
Sebastian Sdorra
2018-07-20 11:04:02 +02:00
parent e383eb250a
commit 3cac46f101

View File

@@ -29,7 +29,7 @@ class Page extends React.Component<Props> {
renderSubtitle() { renderSubtitle() {
const { subtitle } = this.props; const { subtitle } = this.props;
if (subtitle) { if (subtitle) {
return <h2 className="subtitle">Users</h2>; return <h2 className="subtitle">{subtitle}</h2>;
} }
return null; return null;
} }