Skip to content

Commit

Permalink
web-wallet: Remove "Swap to nDUSK" step (Restore flow)
Browse files Browse the repository at this point in the history
Resolves #3333
  • Loading branch information
nortonandreev committed Jan 9, 2025
1 parent 4cd3cb9 commit 879f295
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 318 deletions.
3 changes: 3 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

- Remove "Swap to nDUSK" step (Restore flow) [#3333]

### Fixed

## [1.0.0] - 2024-12-23
Expand Down Expand Up @@ -503,6 +505,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#3267]: https://github.com/dusk-network/rusk/issues/3267
[#3270]: https://github.com/dusk-network/rusk/issues/3270
[#3287]: https://github.com/dusk-network/rusk/issues/3287
[#3333]: https://github.com/dusk-network/rusk/issues/3333

<!-- VERSIONS -->

Expand Down
16 changes: 2 additions & 14 deletions web-wallet/src/routes/(welcome)/setup/create/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import MnemonicPhrase from "./MnemonicPhrase.svelte";
import MnemonicValidate from "./MnemonicValidate.svelte";
import NetworkSync from "./NetworkSync.svelte";
import SwapNDUSK from "./SwapNDUSK.svelte";
import AllSet from "../AllSet.svelte";
import MnemonicPreSetup from "./MnemonicPreSetup.svelte";
import PasswordSetup from "../PasswordSetup.svelte";
Expand Down Expand Up @@ -63,7 +62,7 @@
<TermsOfService bind:tosAccepted />
</div>
{:else}
<Wizard fullHeight={true} steps={7} let:key>
<Wizard fullHeight={true} steps={6} let:key>
<WizardStep
step={0}
{key}
Expand Down Expand Up @@ -140,17 +139,6 @@
action: () => loginInfoStorage.remove(),
disabled: false,
}}
>
<h2 class="h1" slot="heading">
Swap ERC20<br />
to <mark>Native Dusk</mark>
</h2>
<SwapNDUSK />
</WizardStep>
<WizardStep
step={5}
{key}
showStepper={true}
nextButton={{
action: async () => {
await initializeWallet(mnemonicPhrase.join(" "));
Expand All @@ -166,7 +154,7 @@
<NetworkSync />
</WizardStep>
<WizardStep
step={6}
step={5}
{key}
showStepper={true}
hideBackButton={true}
Expand Down
14 changes: 0 additions & 14 deletions web-wallet/src/routes/(welcome)/setup/create/SwapNDUSK.svelte

This file was deleted.

Loading

0 comments on commit 879f295

Please sign in to comment.