set title in global config and not in general config component

This commit is contained in:
Maren Süwer
2018-08-09 11:34:23 +02:00
parent 52eaafa549
commit 9395b77ca2
2 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
import React from "react";
import { Page } from "../../components/layout";
import type { History } from "history";
import { translate } from "react-i18next";
import Title from "../../components/layout/Title";
type Props = {
// context objects
@@ -12,7 +11,7 @@ class GlobalConfig extends React.Component<Props> {
render() {
const { t } = this.props;
return <div>Here, global config will be shown</div>;
return <Title title={t("config.title")} />;
}
}