aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/auth/InviteScreen.tsx
diff options
context:
space:
mode:
authorLibravatar Ricardo Cino <ricardo@cino.io>2022-06-26 23:59:32 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-26 21:59:32 +0000
commit6bff2bb5439d25e0ab2a24a8ca1b28b89ef40ff9 (patch)
tree1676f5eef42b8086d28476c7eaad62c7b1753120 /src/containers/auth/InviteScreen.tsx
parentReduce tab item layout shift (#376) (diff)
downloadferdium-app-6bff2bb5439d25e0ab2a24a8ca1b28b89ef40ff9.tar.gz
ferdium-app-6bff2bb5439d25e0ab2a24a8ca1b28b89ef40ff9.tar.zst
ferdium-app-6bff2bb5439d25e0ab2a24a8ca1b28b89ef40ff9.zip
chore: turned all auth containers into typescript (#375)
Diffstat (limited to 'src/containers/auth/InviteScreen.tsx')
-rw-r--r--src/containers/auth/InviteScreen.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/containers/auth/InviteScreen.tsx b/src/containers/auth/InviteScreen.tsx
new file mode 100644
index 000000000..a2c684f41
--- /dev/null
+++ b/src/containers/auth/InviteScreen.tsx
@@ -0,0 +1,14 @@
1import { Component, ReactElement } from 'react';
2import { inject, observer } from 'mobx-react';
3import { DefaultProps } from 'src/@types/ferdium-components.types';
4import Invite from '../../components/auth/Invite';
5
6class InviteScreen extends Component<DefaultProps> {
7 render(): ReactElement {
8 const { actions } = this.props;
9
10 return <Invite onSubmit={actions.user.invite} embed={false} />;
11 }
12}
13
14export default inject('stores', 'actions')(observer(InviteScreen));