From 9e722da152d83db5d4147884856498e3ef45e8ee Mon Sep 17 00:00:00 2001 From: Ben Wolski <570819+benwolski@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:35:39 -0500 Subject: [PATCH 1/3] fix tab selection reversion bug --- .../Global/TabComponent/TabComponent.tsx | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/components/Global/TabComponent/TabComponent.tsx b/src/components/Global/TabComponent/TabComponent.tsx index 193b607cd8..25b538eddf 100644 --- a/src/components/Global/TabComponent/TabComponent.tsx +++ b/src/components/Global/TabComponent/TabComponent.tsx @@ -137,27 +137,6 @@ export default function TabComponent(props: TabPropsIF) { if (tradeTableState === 'Collapsed') toggleTradeTable(); } - useEffect(() => { - const currentTabData = data.find( - (item) => item.label === selectedTab.label, - ); - if (currentTabData) { - setSelectedTab(currentTabData); - if ( - [ - 'transactions', - 'limits', - 'liquidity', - 'wallet balances', - 'exchange balances', - 'dex balances', - ].includes(currentTabData.label.toLowerCase()) - ) { - setActiveTradeTab(currentTabData.label.toLowerCase()); - } - } - }, [data, outsideControl]); - function handleOutside2() { if (!outsideControl) { return; From f8a7fa950e1b8e34669cede6d92bd8dcf1474c40 Mon Sep 17 00:00:00 2001 From: Ben Wolski <570819+benwolski@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:36:03 -0500 Subject: [PATCH 2/3] bump version to 3.1.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2430a5d6e4..13fdda1771 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ambient-ts-app", - "version": "3.1.10", + "version": "3.1.11", "private": true, "type": "module", "dependencies": { From 2b60fbc8bf809329d7426f309b41dbdf623c91e0 Mon Sep 17 00:00:00 2001 From: Ben Wolski <570819+benwolski@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:51:18 -0500 Subject: [PATCH 3/3] temporarily remove plume mainnet from production deployment --- src/assets/branding/ambientProductionBrandAssets.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/assets/branding/ambientProductionBrandAssets.ts b/src/assets/branding/ambientProductionBrandAssets.ts index cc5b2c1efb..4676441050 100644 --- a/src/assets/branding/ambientProductionBrandAssets.ts +++ b/src/assets/branding/ambientProductionBrandAssets.ts @@ -1,5 +1,4 @@ import blastLogo from '../../assets/images/logos/blast_logo.svg'; -import plumeLogo from '../../assets/images/logos/plume_brand_logo.svg'; import scrollLogo from '../../assets/images/logos/scroll_brand_logo.svg'; import swellLogo from '../../assets/images/logos/swell_dark_theme_logo.svg'; import large from '../images/logos/large.svg'; @@ -21,11 +20,11 @@ export const ambientProductionBrandAssets: brandIF = { cobrandingLogo: swellLogo, }, // plume mainnet - '0x18231': { - color: ['purple_dark', 'purple_light', 'futa_dark'], - premiumColor: [], - cobrandingLogo: plumeLogo, - }, + // '0x18231': { + // color: ['purple_dark', 'purple_light', 'futa_dark'], + // premiumColor: [], + // cobrandingLogo: plumeLogo, + // }, // scroll mainnet '0x82750': { // first value in array is default color scheme