aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/auth/InviteScreen.tsx
blob: ed656a33a9532026f904206d7f9cf601e6c39885 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { inject, observer } from 'mobx-react';
import { Component, type ReactElement } from 'react';
import type { StoresProps } from '../../@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));