Skip to content

Commit

Permalink
hide unvested date if its undefined (#265)
Browse files Browse the repository at this point in the history
* hide unvested date if its undefined

* remove style format

* add back new line
  • Loading branch information
cctdaniel authored Nov 13, 2023
1 parent ab8b42c commit 9f1851b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/pages/staking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ const Staking: NextPage = () => {
<p className="mb-4">
You currently have {unvestedTotalPythBalance?.toString()}{' '}
unvested tokens.{' '}
{!unvestedTotalPythBalance.isZero()
{nextVestingDate && !unvestedTotalPythBalance.isZero()
? `${nextVestingAmount.toString()} tokens
will vest on ${nextVestingDate?.toLocaleString()}.`
: null}
Expand Down

1 comment on commit 9f1851b

@vercel
Copy link

@vercel vercel bot commented on 9f1851b Nov 13, 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:

staking – ./

staking-git-main-pyth-web.vercel.app
staking-rho-nine.vercel.app
staking-pyth-web.vercel.app

Please sign in to comment.