Skip to content

Commit

Permalink
web-wallet: Broken link in the stake warning
Browse files Browse the repository at this point in the history
Resolves #2990
  • Loading branch information
ascartabelli committed Nov 15, 2024
1 parent 10beb95 commit a269440
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Suggested words in the Mnemonic (Authenticate) are accessible using Tab [#2879]
- Broken link in the stake warning [#2990]

## [0.7.0] - 2024-11-11

Expand Down Expand Up @@ -339,6 +340,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#2888]: https://github.com/dusk-network/rusk/issues/2888
[#2920]: https://github.com/dusk-network/rusk/issues/2920
[#2932]: https://github.com/dusk-network/rusk/issues/2932
[#2990]: https://github.com/dusk-network/rusk/issues/2990

<!-- VERSIONS -->

Expand Down
4 changes: 2 additions & 2 deletions web-wallet/src/lib/components/Stake/Stake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
mdiDatabaseOutline,
} from "@mdi/js";
import { DOCUMENTATION_LINKS } from "$lib/constants";
import { areValidGasSettings, deductLuxFeeFrom } from "$lib/contracts";
import { duskToLux, luxToDusk } from "$lib/dusk/currency";
import { logo } from "$lib/dusk/icons";
Expand Down Expand Up @@ -226,8 +227,7 @@
class="staking-warning__step-node-setup-link"
rel="noopener noreferrer"
target="_blank"
href="https://docs.dusk.network/getting-started/node-setup/overview"
>HERE</AppAnchor
href={DOCUMENTATION_LINKS.RUN_A_PROVISIONER}>HERE</AppAnchor
>, and that I will lose funds if I have not done so correctly.
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ exports[`Stake > should render the Stake notice 1`] = `
I understand that I have set up a node properly, as described
<a
class="dusk-anchor dusk-anchor--on-surface"
href="https://docs.dusk.network/getting-started/node-setup/overview"
href="https://docs.dusk.network/operator/02-provisioner/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
1 change: 1 addition & 0 deletions web-wallet/src/lib/constants/documentationLinks.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const DOCUMENTATION_LINKS = {
RESTORE_BLOCK_HEIGHT: "https://docs.dusk.network/learn/guides/restore-height",
RUN_A_PROVISIONER: "https://docs.dusk.network/operator/02-provisioner/",
};

0 comments on commit a269440

Please sign in to comment.