From 3274625fa309362073a7808490e5d0a3e34b2df6 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Sat, 4 May 2024 06:21:46 +0100 Subject: chore: change icons to reduce bundle (#1740) * Made the sleep in millis more explicit --- src/containers/auth/SetupAssistantScreen.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/containers') 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 @@ import { inject, observer } from 'mobx-react'; +import ms from 'ms'; import { Component, type ReactElement } from 'react'; import type { StoresProps } from '../../@types/ferdium-components.types'; import type { ILegacyServices } from '../../@types/legacy-types'; @@ -83,11 +84,11 @@ class SetupAssistantScreen extends Component { }); // eslint-disable-next-line no-await-in-loop - await sleep(100); + await sleep(ms('100ms')); } this.setState({ isSettingUpServices: false }); - await sleep(100); + await sleep(ms('100ms')); router.push('/'); } -- cgit v1.2.3-54-g00ecf