Skip to content

Commit

Permalink
feat: update link and words
Browse files Browse the repository at this point in the history
  • Loading branch information
snoopy1412 committed Sep 13, 2024
1 parent d9e50bd commit 77f184a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/components/collator/join.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ const CollatorJoin = ({ hasSessionKey, sessionKey, hasPool, refetch }: CollatorJ
<p className="text-[0.75rem] font-normal text-foreground/50">
Note that you need to complete two steps in sequence, setup [Session Key] and setup
[Commission] before becoming a collator. Please{' '}
<Link href="/" className="text-[#0094FF]">
<Link
href="https://docs.darwinia.network/node-operators/run-collator-node/#set-session-key-and-commission-rate"
className="text-[#0094FF]"
target="_blank"
rel="noopener noreferrer"
>
Run A Node
</Link>{' '}
first and get the session key of your running node.
Expand Down
2 changes: 1 addition & 1 deletion src/view/stake/_components/new/stake-ring.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const StakeRing = ({ selectedCollator, onSuccess }: StakeRingProps) => {

const handleStake = useCallback(async () => {
const tx = await handleRingStake()?.catch((e) => {
error(e.shortMessage);
error(e.shortMessage || 'Failed to stake');
});
if (tx) {
setHash(tx);
Expand Down

0 comments on commit 77f184a

Please sign in to comment.