diff options
Diffstat (limited to 'src/containers/auth/SetupAssistantScreen.tsx')
-rw-r--r-- | src/containers/auth/SetupAssistantScreen.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/containers/auth/SetupAssistantScreen.tsx b/src/containers/auth/SetupAssistantScreen.tsx index d15b4e6e1..b73b5705d 100644 --- a/src/containers/auth/SetupAssistantScreen.tsx +++ b/src/containers/auth/SetupAssistantScreen.tsx | |||
@@ -1,4 +1,5 @@ | |||
1 | import { inject, observer } from 'mobx-react'; | 1 | import { inject, observer } from 'mobx-react'; |
2 | import ms from 'ms'; | ||
2 | import { Component, type ReactElement } from 'react'; | 3 | import { Component, type ReactElement } from 'react'; |
3 | import type { StoresProps } from '../../@types/ferdium-components.types'; | 4 | import type { StoresProps } from '../../@types/ferdium-components.types'; |
4 | import type { ILegacyServices } from '../../@types/legacy-types'; | 5 | import type { ILegacyServices } from '../../@types/legacy-types'; |
@@ -83,11 +84,11 @@ class SetupAssistantScreen extends Component<IProps, IState> { | |||
83 | }); | 84 | }); |
84 | 85 | ||
85 | // eslint-disable-next-line no-await-in-loop | 86 | // eslint-disable-next-line no-await-in-loop |
86 | await sleep(100); | 87 | await sleep(ms('100ms')); |
87 | } | 88 | } |
88 | 89 | ||
89 | this.setState({ isSettingUpServices: false }); | 90 | this.setState({ isSettingUpServices: false }); |
90 | await sleep(100); | 91 | await sleep(ms('100ms')); |
91 | router.push('/'); | 92 | router.push('/'); |
92 | } | 93 | } |
93 | 94 | ||