Skip to content

Commit

Permalink
fix: broken create new profile & onboarding (#7800)
Browse files Browse the repository at this point in the history
* fix: missing import

* fix: Fix blank promise in onboarding creation

---------

Co-authored-by: marc2332 <[email protected]>
  • Loading branch information
begonaalvarezd and marc2332 authored Dec 20, 2023
1 parent b39eb7f commit da4c6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
buildWalletStateAndPersistedData,
IWalletState,
} from '@core/wallet'
import { DEFAULT_SYNC_OPTIONS } from '@core/wallet/constants'
import { localize } from '@core/i18n'

export async function completeOnboardingProcess(): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ export function initialiseOnboardingProfile(

const _newProfile = buildInitialOnboardingProfile(isDeveloperProfile)
onboardingProfile.set(_newProfile)
return new Promise(() => {}) // TODO(2.0) This is a temporal promise
return Promise.resolve() // TODO(2.0) This is a temporal promise
}

0 comments on commit da4c6aa

Please sign in to comment.