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

View File

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