Merge pull request #176 from blockworks-foundation/fix-title-price

Fix title price
This commit is contained in:
tjshipe 2022-03-01 13:57:02 -05:00 committed by GitHub
commit 77da319c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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