Skip to content

Commit

Permalink
Improve wording when topping up or de-authing
Browse files Browse the repository at this point in the history
Co-authored-by: Arjun Hassard <[email protected]>
  • Loading branch information
theref and arjunhassard authored Feb 1, 2024
1 parent a0ed037 commit 585ff6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/Modal/TopupTModal/TopUpTModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ const TopupTModal: FC<
your initial stake.
</BodyLg>
<BodyLg>
If you want to put your new topped-up tokens at work, make sure to
increase the authorization to your applications.
If you want to put newly topped-up tokens to work, make sure to individually

Check failure on line 62 in src/components/Modal/TopupTModal/TopUpTModal.tsx

View workflow job for this annotation

GitHub Actions / Check code format

Delete `·individually·`
increase the total authorization to each Threshold application (tBTC, Random Beacon & TACo).

Check failure on line 63 in src/components/Modal/TopupTModal/TopUpTModal.tsx

View workflow job for this annotation

GitHub Actions / Check code format

Replace `·increase·the·total·authorization·to·each·Threshold` with `·individually·increase·the·total·authorization·to·each·Threshold⏎·············`
<br />
If you increase the Authorization to TACo, the new tokens will be
subject to the same lock-up period as your current stake.
If you increase the total number of tokens authorized to the TACo app, those tokens will automatically be

Check failure on line 65 in src/components/Modal/TopupTModal/TopUpTModal.tsx

View workflow job for this annotation

GitHub Actions / Check code format

Replace `·app,·those·tokens·will·automatically·be⏎··············subject·to·the·same·unlock·horizon·as·your·current·TACo·stake,·including·the·min.·deauthorization·delay·(6·months),·plus·any·lock-up·extension·on·top·of·that.·` with `⏎··············app,·those·tokens·will·automatically·be·subject·to·the·same·unlock⏎··············horizon·as·your·current·TACo·stake,·including·the·min.⏎··············deauthorization·delay·(6·months),·plus·any·lock-up·extension·on⏎··············top·of·that.`
subject to the same unlock horizon as your current TACo stake, including the min. deauthorization delay (6 months), plus any lock-up extension on top of that.
</BodyLg>
</InfoBox>
<StakingStats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const AuthorizeApplicationsCardCheckboxBase: FC<
(Number(endCommitment) ?? 0) * 1000
).toLocaleDateString()
if (isCommited) {
alert(`You are still committed until ${endCommitmentDate}.`)
alert(`Your tokens remain committed until ${endCommitmentDate}, at which point you may initiate deauthorization.`)

Check failure on line 272 in src/pages/Staking/AuthorizeStakingApps/AuthorizeApplicationsCardCheckbox/index.tsx

View workflow job for this annotation

GitHub Actions / Check code format

Replace ``Your·tokens·remain·committed·until·${endCommitmentDate},·at·which·point·you·may·initiate·deauthorization.`` with `⏎············`Your·tokens·remain·committed·until·${endCommitmentDate},·at·which·point·you·may·initiate·deauthorization.`⏎··········`
} else {
onInitiateDeauthorization(tokenAmount)
}
Expand Down

0 comments on commit 585ff6b

Please sign in to comment.