From 26ac069e499723c7a137b812eeacbd349cb2eed0 Mon Sep 17 00:00:00 2001 From: Mark Hinschberger Date: Tue, 17 Dec 2024 16:58:17 +0000 Subject: [PATCH] chore: fix wording --- src/components/MarketSwitcher.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/MarketSwitcher.tsx b/src/components/MarketSwitcher.tsx index 9ea33196b7..76490d7264 100644 --- a/src/components/MarketSwitcher.tsx +++ b/src/components/MarketSwitcher.tsx @@ -138,8 +138,6 @@ export const MarketSwitcher = () => { proto_lido_v3: 'Focused on blue-chip collaterals and high leverage use cases.', }; - console.log('currentMarket', currentMarket); - return ( { SelectProps={{ native: false, className: 'MarketSwitcher__select', - IconComponent: (props) => null, + IconComponent: () => null, renderValue: (marketId) => { const { market, logo } = getMarketInfoById(marketId as CustomMarket); @@ -235,11 +233,9 @@ export const MarketSwitcher = () => { {marketBlurbs[currentMarket] && ( @@ -263,10 +259,13 @@ export const MarketSwitcher = () => { vertical: 'bottom', horizontal: 'right', }, + transformOrigin: { + vertical: 'top', + horizontal: 'right', + }, PaperProps: { style: { minWidth: 240, - transform: 'translateX(-84px)', }, variant: 'outlined', elevation: 0,