Skip to content

Commit

Permalink
Merge pull request #464 from elsoul/addFrontend
Browse files Browse the repository at this point in the history
use balance to stake/unstale elSOL
  • Loading branch information
KishiTheMechanic authored Nov 10, 2024
2 parents fe3d837 + 48927c3 commit 2123be9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function StakingTabs() {
</TabsList>
<TabsContent value="staking">
<BlinksComponent
actionUrl={`${VALIDATORS_BLINKS_BASE_URL}/v1/stake`}
actionUrl={`${VALIDATORS_BLINKS_BASE_URL}/v1/stake?pubkey=${publicKey}`}
/>
{publicKey && (
<div className="mt-5 grid gap-4 sm:grid-cols-2 md:grid-cols-1 lg:grid-cols-2">
Expand Down Expand Up @@ -71,7 +71,7 @@ export default function StakingTabs() {
</TabsContent>
<TabsContent value="unstaking">
<BlinksComponent
actionUrl={`${VALIDATORS_BLINKS_BASE_URL}/v1/unstake`}
actionUrl={`${VALIDATORS_BLINKS_BASE_URL}/v1/unstake?pubkey=${publicKey}`}
/>
{publicKey && (
<div className="mt-5 grid gap-4 sm:grid-cols-7">
Expand All @@ -98,7 +98,7 @@ export default function StakingTabs() {
</TabsContent>
<TabsContent value="swap">
<BlinksComponent
actionUrl={`${VALIDATORS_BLINKS_BASE_URL}/v1/swap`}
actionUrl={`${VALIDATORS_BLINKS_BASE_URL}/v1/swap?pubkey=${publicKey}`}
/>
{publicKey && (
<div className="mt-5 grid gap-4">
Expand Down

0 comments on commit 2123be9

Please sign in to comment.