Merge branch 'main' into nav-styling-tweaks
This commit is contained in:
commit
267b042b08
|
@ -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>
|
||||
|
|
|
@ -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) => (
|
||||
|
|
|
@ -533,7 +533,7 @@ const useMangoStore = create<MangoStore>((set, get) => {
|
|||
}
|
||||
})
|
||||
})
|
||||
actions.fetchMarketInfo()
|
||||
// actions.fetchMarketInfo()
|
||||
})
|
||||
.catch((err) => {
|
||||
if (mangoGroupRetryAttempt < 2) {
|
||||
|
|
Loading…
Reference in New Issue