From 6bff2bb5439d25e0ab2a24a8ca1b28b89ef40ff9 Mon Sep 17 00:00:00 2001
From: Ricardo Cino <ricardo@cino.io>
Date: Sun, 26 Jun 2022 23:59:32 +0200
Subject: chore: turned all auth containers into typescript (#375)

---
 src/containers/auth/InviteScreen.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 src/containers/auth/InviteScreen.tsx

(limited to 'src/containers/auth/InviteScreen.tsx')

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 @@
+import { Component, ReactElement } from 'react';
+import { inject, observer } from 'mobx-react';
+import { DefaultProps } from 'src/@types/ferdium-components.types';
+import Invite from '../../components/auth/Invite';
+
+class InviteScreen extends Component<DefaultProps> {
+  render(): ReactElement {
+    const { actions } = this.props;
+
+    return <Invite onSubmit={actions.user.invite} embed={false} />;
+  }
+}
+
+export default inject('stores', 'actions')(observer(InviteScreen));
-- 
cgit v1.2.3-54-g00ecf

