Merge with default

This commit is contained in:
René Pfeuffer
2020-01-28 07:37:55 +01:00
8 changed files with 181 additions and 2 deletions

View File

@@ -28,6 +28,13 @@ const PageActionContainer = styled.div`
`;
export default class Page extends React.Component<Props> {
componentDidUpdate() {
const { title } = this.props;
if (title && title !== document.title) {
document.title = title;
}
}
render() {
const { error } = this.props;
return (