Merge branch 'main' into nav-styling-tweaks

This commit is contained in:
saml33 2022-02-20 14:18:44 +11:00
commit 267b042b08
3 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ const MarketNavItem: FunctionComponent<MarketNavItemProps> = ({
: 'text-th-fgd-4'
}`}
>
{mktInfo ? `${(mktInfo.change24h * 100).toFixed(1)}%` : '?'}
{mktInfo ? `${(mktInfo.change24h * 100).toFixed(1)}%` : ''}
</div>
</button>
</div>

View File

@ -135,7 +135,7 @@ const SwitchMarketDropdown = () => {
<div className="flex justify-between py-1.5">
<h4 className="text-xs">{t('perp')}</h4>
<p className="mb-0 text-th-fgd-4 text-xs">
{t('rolling-change')}
{/* {t('rolling-change')} */}
</p>
</div>
{perpMarkets.map((mkt) => (
@ -149,7 +149,7 @@ const SwitchMarketDropdown = () => {
<div className="flex justify-between py-1.5">
<h4 className="text-xs">{t('spot')}</h4>
<p className="mb-0 text-th-fgd-4 text-xs">
{t('rolling-change')}
{/* {t('rolling-change')} */}
</p>
</div>
{spotMarkets.map((mkt) => (

View File

@ -533,7 +533,7 @@ const useMangoStore = create<MangoStore>((set, get) => {
}
})
})
actions.fetchMarketInfo()
// actions.fetchMarketInfo()
})
.catch((err) => {
if (mangoGroupRetryAttempt < 2) {