Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links to staking apps docs #685

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions src/components/StakingTimeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,26 @@ const StakingTimeline: FC<{ statuses?: FlowStepStatus[] } & StackProps> = ({
status={statuses[1] ?? FlowStepStatus.inactive}
isDescriptionArrowHidden
>
For each stake, there are three applications available. To authorize
tBTC, Random Beacon, and TACo, go to the{" "}
<Link to="/staking">Staking page</Link> and select “Configure Stake”.
For each stake, there are three applications available. To authorize{" "}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious, why the {" "}?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To force adding a whitespace between the "plaintext" and the HTML elements. Otherwise, it could be formatted without a space between.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, what I was wondering is why it would not render the space by default.

<Link to={"https://docs.threshold.network/applications/tbtc-v2"}>
tBTC
</Link>
,{" "}
<Link
to={"https://docs.threshold.network/app-development/random-beacon"}
>
Random Beacon
</Link>
, and{" "}
<Link
to={
"https://docs.threshold.network/applications/threshold-access-control"
}
>
TACo
</Link>
, go to the <Link to="/staking">Staking page</Link> and select
“Configure Stake”.
</FlowStep>
<FlowStep
size="sm"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3729,10 +3729,10 @@
mkdirp "^1.0.4"
rimraf "^3.0.2"

"@nucypher/nucypher-contracts@7.0.0-rc.1":
version "7.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@nucypher/nucypher-contracts/-/nucypher-contracts-7.0.0-rc.1.tgz#e958ebda099c0642ab2d9eca24bcf451d01ff107"
integrity sha512-4fZZfwQIqyhNmPbrIAUX8WB6rW9d2t2fCX3eFfcMOIwjCl144jab6fTAGjJx3ea1vXysq1bk9Ydvp93R82EtVg==
"@nucypher/nucypher-contracts@0.13.0":
version "0.13.0"
resolved "https://registry.yarnpkg.com/@nucypher/nucypher-contracts/-/nucypher-contracts-0.13.0.tgz#43ead85d4cdf7eb6b459ba77a6ff90a8bb796300"
integrity sha512-QB9vCVq2mLR2SeA/gSX8Px2QW3wcc9keQuTwgtDOA5J7PLoxDHEAko4ow6ZlsfjsbK572Xz6YReH09MBr71ujA==

"@openzeppelin/contracts-ethereum-package@^2.4.0":
version "2.5.0"
Expand Down
Loading