Skip to content

Commit

Permalink
Merge pull request #743 from liquity/delegate-picker-wording
Browse files Browse the repository at this point in the history
feat: revise the wording on the delegate modal
  • Loading branch information
ColinPlatt authored Jan 22, 2025
2 parents c20d37e + d7c4334 commit 64fe327
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions frontend/app/src/comps/InterestRateField/InterestRateField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function CustomDelegateModalContent({
<div>
The address is not a valid{" "}
<AnchorTextButton
label="batch interest manager"
label="delegate"
href="https://docs.liquity.org/v2-faq/redemptions-and-delegation#what-is-delegation-of-interest-rates"
external
/>.
Expand All @@ -458,15 +458,26 @@ function CustomDelegateModalContent({
</div>
)
: (
<div>
Please enter a valid{" "}
<AnchorTextButton
label="batch interest manager"
href="https://docs.liquity.org/v2-faq/redemptions-and-delegation#what-is-delegation-of-interest-rates"
external
/>{" "}
address.
</div>
<>
<div>
Set a valid{" "}
<AnchorTextButton
label="delegate"
href="https://docs.liquity.org/v2-faq/redemptions-and-delegation#what-is-delegation-of-interest-rates"
external
/>{" "}
address.
</div>

<div>
Delegate addresses can be found{" "}
<AnchorTextButton
label="here"
href="https://docs.liquity.org/v2-faq/redemptions-and-delegation#docs-internal-guid-441d8c3f-7fff-4efa-6319-4ba00d908597"
external
/>.
</div>
</>
)}
</div>
</>
Expand Down

0 comments on commit 64fe327

Please sign in to comment.