Skip to content

Commit ef73715

Browse files
authored
Merge pull request #2898 from IntersectMBO/2647-fix-incorrec-lean-more-link-for-direct-voter
fix(2647): incorrect link to docs for direct voters
2 parents 0fea59f + 2042793 commit ef73715

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ changes.
1919
- Fix displaying DRep with doNotList property as string
2020
- Handle exception when no index is provided to /proposal/get endpoint [Issue 1841](https://github.com/IntersectMBO/govtool/issues/1841)
2121
- Fix displaying vote pill on voted on cards
22+
- Fix incorrect link to learn more about direct voters [Issue 2647](https://github.com/IntersectMBO/govtool/issues/2647)
2223

2324
### Changed
2425

govtool/frontend/src/pages/RegisterAsDirectVoter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const RegisterAsDirectVoter = () => {
147147
values={{ deposit: correctAdaFormat(epochParams?.drep_deposit) }}
148148
components={[
149149
<Link
150-
onClick={() => openInNewTab("https://sancho.network/")}
150+
onClick={() => openInNewTab("https://docs.gov.tools/cardano-govtool/faqs/direct-voter-vs-drep")}
151151
sx={{ cursor: "pointer" }}
152152
key="0"
153153
/>,

govtool/frontend/src/pages/RetireAsDirectVoter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export const RetireAsDirectVoter = () => {
121121
values={{ deposit: correctAdaFormat(voter?.deposit) }}
122122
components={[
123123
<Link
124-
onClick={() => openInNewTab("https://sancho.network/")}
124+
onClick={() => openInNewTab("https://docs.gov.tools/cardano-govtool/faqs/direct-voter-vs-drep")}
125125
sx={{ cursor: "pointer", textDecoration: "none" }}
126126
key="0"
127127
/>,

0 commit comments

Comments
 (0)