Update document title via Page component

This commit is contained in:
2019-12-05 22:46:07 +01:00
parent a7297e3d12
commit 29f44f8c75
3 changed files with 16 additions and 2 deletions

View File

@ -33,8 +33,9 @@ export class BoardPage extends React.Component {
}
render() {
const { board } = this.props;
return (
<Page>
<Page title={`${board ? (board.title + ' - ') : ''}GenGitKan`}>
<div className="container is-fluid">
{this.renderBoard()}
</div>