diff options
author | 2022-06-26 23:59:32 +0200 | |
---|---|---|
committer | 2022-06-26 21:59:32 +0000 | |
commit | 6bff2bb5439d25e0ab2a24a8ca1b28b89ef40ff9 (patch) | |
tree | 1676f5eef42b8086d28476c7eaad62c7b1753120 /src/containers/auth/InviteScreen.js | |
parent | Reduce tab item layout shift (#376) (diff) | |
download | ferdium-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.js')
-rw-r--r-- | src/containers/auth/InviteScreen.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/containers/auth/InviteScreen.js b/src/containers/auth/InviteScreen.js deleted file mode 100644 index fc66227cc..000000000 --- a/src/containers/auth/InviteScreen.js +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | import { Component } from 'react'; | ||
2 | import PropTypes from 'prop-types'; | ||
3 | import { inject, observer } from 'mobx-react'; | ||
4 | import Invite from '../../components/auth/Invite'; | ||
5 | |||
6 | class InviteScreen extends Component { | ||
7 | render() { | ||
8 | const { actions } = this.props; | ||
9 | |||
10 | return <Invite onSubmit={actions.user.invite} embed={false} />; | ||
11 | } | ||
12 | } | ||
13 | |||
14 | InviteScreen.propTypes = { | ||
15 | actions: PropTypes.shape({ | ||
16 | user: PropTypes.shape({ | ||
17 | invite: PropTypes.func.isRequired, | ||
18 | }).isRequired, | ||
19 | }).isRequired, | ||
20 | }; | ||
21 | |||
22 | export default inject('stores', 'actions')(observer(InviteScreen)); | ||