fix: price can be unexpectedly missing even under Coingecko success result (#19209)

This commit is contained in:
Josh 2021-08-12 11:12:07 -07:00 committed by GitHub
parent 5233338c94
commit 5fde4ee3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ function MintAccountCard({
coinInfo?.status === CoingeckoStatus.Loading && (
<LoadingCard message="Loading token price data" />
)}
{tokenPriceInfo && (
{tokenPriceInfo && tokenPriceInfo.price && (
<div className="row">
<div className="col-12 col-lg-4 col-xl">
<div className="card">