change showing error if me is not defined

This commit is contained in:
Maren Süwer
2018-11-21 08:48:11 +01:00
parent 51c9a4dbb2
commit 102471e94e

View File

@@ -29,7 +29,7 @@ class Profile extends React.Component<Props, State> {
render() {
const { me, t } = this.props;
if (me) {
if (!me) {
return (
<ErrorPage
title={t("profile.error-title")}