aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/auth/ImportScreen.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/auth/ImportScreen.tsx')
-rw-r--r--src/containers/auth/ImportScreen.tsx19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/containers/auth/ImportScreen.tsx b/src/containers/auth/ImportScreen.tsx
index 8d318cb2d..c128dec14 100644
--- a/src/containers/auth/ImportScreen.tsx
+++ b/src/containers/auth/ImportScreen.tsx
@@ -1,21 +1,10 @@
1import { Component } from 'react'; 1import { Component, ReactElement } from 'react';
2import { inject, observer } from 'mobx-react'; 2import { inject, observer } from 'mobx-react';
3import { RouterStore } from 'mobx-react-router'; 3import { DefaultProps } from 'src/@types/ferdium-components.types';
4import { UserStore } from 'src/stores.types';
5import Import from '../../components/auth/Import'; 4import Import from '../../components/auth/Import';
6 5
7interface IProps { 6class ImportScreen extends Component<DefaultProps> {
8 actions: { 7 render(): ReactElement {
9 user: UserStore;
10 };
11 stores: {
12 user: UserStore;
13 router: RouterStore;
14 };
15}
16
17class ImportScreen extends Component<IProps> {
18 render() {
19 const { actions, stores } = this.props; 8 const { actions, stores } = this.props;
20 9
21 if (stores.user.isImportLegacyServicesCompleted) { 10 if (stores.user.isImportLegacyServicesCompleted) {