Skip to content

Commit

Permalink
Merge pull request #208 from effectai/fix-unstake
Browse files Browse the repository at this point in the history
fix unstake
  • Loading branch information
jeisses committed Mar 18, 2024
2 parents f17df03 + 7859ee1 commit 779c53b
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions pages/stake.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,6 @@
</div>
</div>

<div v-if="nfxStillClaimable > 0" class="notification is-primary unstake mb-0 is-outlined notif-w-btn">
You can claim <b>{{ nfxStillClaimable }}</b> NFX.
<div class="is-pulled-right notif-btn">
<button class="button is-success claim-nfx" @click="claimNfx">
Claim
</button>
</div>
</div>

<div v-if="!efxCanRefund && efxUnstaking > 0" class="notification is-primary has-text-centered unstake mb-0 is-outlined">
You have a pending unstake of <b>{{ efxUnstaking }} EFX</b> refundable <b>{{ $moment(efxUnstakingTime+"Z").fromNow() }}</b>.
</div>
Expand Down Expand Up @@ -444,18 +435,6 @@ export default {
this.loading = true
const actions = [
{
account: process.env.stakingContract,
name: 'claim',
authorization: [{
actor: this.wallet.auth.accountName,
permission: this.wallet.auth.permission
}],
data: {
owner: this.wallet.auth.accountName,
symbol: `4,${(this.stakingModalEfx) ? process.env.efxToken : process.env.nfxToken}`
}
},
{
account: process.env.stakingContract,
name: 'unstake',
Expand Down

0 comments on commit 779c53b

Please sign in to comment.