Skip to content

Commit

Permalink
fix: reset active profile in onboarding (#4662)
Browse files Browse the repository at this point in the history
Co-authored-by: Tuditi <45079109+Tuditi@users.noreply.github.com>
  • Loading branch information
nicole-obrien and Tuditi authored Sep 23, 2022
1 parent 0029fb2 commit e0c2ebc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { localize } from '@core/i18n'
import { NetworkProtocol, NetworkType } from '@core/network'
import { networkSetupRouter } from '@core/router'
import { resetActiveProfile } from '@core/profile'
function onProtocolSelectionClick(networkProtocol: NetworkProtocol): void {
if ($onboardingProfile?.isDeveloperProfile) {
Expand All @@ -23,6 +24,7 @@
}
onMount(() => {
resetActiveProfile()
updateOnboardingProfile({ networkProtocol: null })
})
</script>
Expand Down

0 comments on commit e0c2ebc

Please sign in to comment.