Skip to content

Commit

Permalink
use balance to stake/unstale elSOL
Browse files Browse the repository at this point in the history
  • Loading branch information
KishiTheMechanic committed Nov 10, 2024
1 parent 9999bfa commit 6a8b9eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/[locale]/(default)/blinks/StakingTabs.tsx
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 6a8b9eb

Please sign in to comment.