Skip to content

Commit

Permalink
no deposit locked date changed to now + lockupPeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
alelliott committed Jun 18, 2024
1 parent 2632690 commit cb940c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/HomePage/views/PublicPoolView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ const barIndicators = computed<InfoBarType.Indicator[]>(() => [
? userPoolData.value.lastStake
.add(poolData.value.withdrawLockPeriodAfterStake)
.toNumber()
: poolData.value.payoutStart
.add(poolData.value.withdrawLockPeriod)
.toNumber(),
: Math.floor(Date.now() / 1000) + poolData.value.withdrawLockPeriodAfterStake.toNumber(),
).format(DEFAULT_TIME_FORMAT)
: '',
note: t('home-page.public-pool-view.withdraw-at-note'),
Expand Down

0 comments on commit cb940c5

Please sign in to comment.