Skip to content

Commit

Permalink
Update validator stake button APPS-978 (#12560)
Browse files Browse the repository at this point in the history
## Description 

[APPS-978](https://mysten.atlassian.net/browse/APPS-978?atlOrigin=eyJpIjoiZDY1ZGEyYTQ3ZGFjNGYzMzgyOTA4YzUyNmM1YjlkZDIiLCJwIjoiaiJ9)
Describe the changes or additions included in this PR.

<img width="453" alt="Screenshot 2023-06-18 at 3 28 29 PM"
src="https://github.com/MystenLabs/sui/assets/126525197/18c96f26-9eb6-4d46-a08b-b3ba61b9d347">
<img width="492" alt="Screenshot 2023-06-18 at 3 28 34 PM"
src="https://github.com/MystenLabs/sui/assets/126525197/1ff66976-358d-4242-9170-b34b6003b69a">
  • Loading branch information
Jibz-Mysten authored Jun 19, 2023
1 parent 2f37537 commit 53c52d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions apps/explorer/src/components/validator/StakeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export function StakeButton() {
return (
<Button
size="lg"
variant="outline"
href="https://chrome.google.com/webstore/detail/sui-wallet/opcgpfmipidbgpenhmajoajpbobppdil"
>
Install Sui Wallet to stake SUI
Expand All @@ -67,7 +66,6 @@ export function StakeButton() {
return (
<Button
size="lg"
variant="outline"
onClick={() => {
// Always just assume we should connect to the first stake supported wallet for now:
connect(stakeSupportedWallets[0].name);
Expand Down
2 changes: 1 addition & 1 deletion apps/explorer/src/components/validator/ValidatorMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function ValidatorMeta({ validatorData }: ValidatorMetaProps) {
rel="noreferrer noopener"
className="mt-2.5 inline-flex items-center gap-1.5 text-body font-medium text-sui-dark no-underline"
>
{projectUrl}
{projectUrl.replace(/\/$/, '')}
<ArrowUpRight12 className="text-steel" />
</a>
)}
Expand Down

2 comments on commit 53c52d9

@vercel
Copy link

@vercel vercel bot commented on 53c52d9 Jun 19, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 53c52d9 Jun 19, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

explorer-storybook – ./apps/explorer

explorer-storybook-mysten-labs.vercel.app
explorer-storybook-git-main-mysten-labs.vercel.app
explorer-storybook.vercel.app

Please sign in to comment.