Cleanup unneccessary folders.

Add delete account modal
This commit is contained in:
Tom Moor
2018-07-07 17:45:24 -05:00
parent 465f819c45
commit f9cbd425cb
27 changed files with 48 additions and 39 deletions

View File

@@ -0,0 +1,29 @@
// @flow
import * as React from 'react';
import { inject, observer } from 'mobx-react';
import CenteredContent from 'components/CenteredContent';
import PageTitle from 'components/PageTitle';
import AuthStore from 'stores/AuthStore';
const ErrorSuspended = observer(({ auth }: { auth: AuthStore }) => {
return (
<CenteredContent>
<PageTitle title="Your account has been suspended" />
<h1>
<span role="img" aria-label="Warning sign">
</span>{' '}
Your account has been suspended
</h1>
<p>
A team admin (<strong>{auth.suspendedContactEmail}</strong>) has
suspended your account. To re-activate your account, please reach out to
them directly.
</p>
</CenteredContent>
);
});
export default inject('auth')(ErrorSuspended);