Fix title price

This commit is contained in:
Riordan Panayides 2022-02-28 18:22:14 +00:00
parent 362a7f604d
commit 04cf24ffd8
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ const PageTitle = () => {
const oraclePrice = useOraclePrice() const oraclePrice = useOraclePrice()
const selectedMarketName = marketConfig.name const selectedMarketName = marketConfig.name
const marketTitleString = const marketTitleString =
marketConfig && router.pathname.includes('market') marketConfig && router.pathname == '/'
? `${ ? `${
oraclePrice oraclePrice
? oraclePrice.toFixed(getDecimalCount(market?.tickSize)) + ' | ' ? oraclePrice.toFixed(getDecimalCount(market?.tickSize)) + ' | '