diff --git a/ts/components/registration/RegistrationStages.tsx b/ts/components/registration/RegistrationStages.tsx index e6e6d3821..d2a33ed70 100644 --- a/ts/components/registration/RegistrationStages.tsx +++ b/ts/components/registration/RegistrationStages.tsx @@ -22,6 +22,7 @@ import { CreateAccount, RestoreAccount, Start } from './stages'; import { showLinkVisitWarningDialog } from '../dialog/OpenUrlModal'; import { SessionLucideIconButton } from '../icon/SessionIconButton'; import { LUCIDE_ICONS_UNICODE } from '../icon/lucide'; +import { SnodePool } from '../../session/apis/snode_api/snodePool'; export async function resetRegistration() { await Data.removeAll(); @@ -29,6 +30,8 @@ export async function resetRegistration() { await Storage.fetch(); ConvoHub.use().reset(); await ConvoHub.use().load(); + // prefetch snodes list from the network + void SnodePool.forceRefreshRandomSnodePool(); } const StyledRegistrationContainer = styled(Flex)`