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/PasswordScreen.tsx | |
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/PasswordScreen.tsx')
-rw-r--r-- | src/containers/auth/PasswordScreen.tsx | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/containers/auth/PasswordScreen.tsx b/src/containers/auth/PasswordScreen.tsx index d88549712..3176e5a8b 100644 --- a/src/containers/auth/PasswordScreen.tsx +++ b/src/containers/auth/PasswordScreen.tsx | |||
@@ -1,19 +1,10 @@ | |||
1 | import { Component } from 'react'; | 1 | import { Component, ReactElement } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | import { UserStore } from 'src/stores.types'; | 3 | import { DefaultProps } from 'src/@types/ferdium-components.types'; |
4 | import Password from '../../components/auth/Password'; | 4 | import Password from '../../components/auth/Password'; |
5 | 5 | ||
6 | interface IProps { | 6 | class PasswordScreen extends Component<DefaultProps> { |
7 | actions: { | 7 | render(): ReactElement { |
8 | user: UserStore; | ||
9 | }; | ||
10 | stores: { | ||
11 | user: UserStore; | ||
12 | }; | ||
13 | }; | ||
14 | |||
15 | class PasswordScreen extends Component<IProps> { | ||
16 | render() { | ||
17 | const { actions, stores } = this.props; | 8 | const { actions, stores } = this.props; |
18 | 9 | ||
19 | return ( | 10 | return ( |