aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2024-05-04 06:21:46 +0100
committerLibravatar GitHub <noreply@github.com>2024-05-04 10:51:46 +0530
commit3274625fa309362073a7808490e5d0a3e34b2df6 (patch)
treea0b82ba9507eed6945d076b27f3e48aeea8aeb55 /src/containers
parent6.7.4-nightly.3 [skip ci] (diff)
downloadferdium-app-3274625fa309362073a7808490e5d0a3e34b2df6.tar.gz
ferdium-app-3274625fa309362073a7808490e5d0a3e34b2df6.tar.zst
ferdium-app-3274625fa309362073a7808490e5d0a3e34b2df6.zip
chore: change icons to reduce bundle (#1740)
* Made the sleep in millis more explicit
Diffstat (limited to 'src/containers')
-rw-r--r--src/containers/auth/SetupAssistantScreen.tsx5
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 @@
1import { inject, observer } from 'mobx-react'; 1import { inject, observer } from 'mobx-react';
2import ms from 'ms';
2import { Component, type ReactElement } from 'react'; 3import { Component, type ReactElement } from 'react';
3import type { StoresProps } from '../../@types/ferdium-components.types'; 4import type { StoresProps } from '../../@types/ferdium-components.types';
4import type { ILegacyServices } from '../../@types/legacy-types'; 5import 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