blob: 40ebdba8d695e8c3cdf983ce1c15a6e8e67a0fe1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { Component, ReactElement } from 'react';
import { inject, observer } from 'mobx-react';
import { StoresProps } from 'src/@types/ferdium-components.types';
import Invite from '../../components/auth/Invite';
class InviteScreen extends Component<StoresProps> {
render(): ReactElement {
const { actions } = this.props;
return <Invite onSubmit={actions.user.invite} embed={false} />;
}
}
export default inject('stores', 'actions')(observer(InviteScreen));
|