We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955e4e9 commit 1465a34Copy full SHA for 1465a34
app/components/UI/Perps/components/PerpsMarketTabs/PerpsMarketTabs.tsx
@@ -688,6 +688,8 @@ const PerpsMarketTabs: React.FC<PerpsMarketTabsProps> = ({
688
689
// Sync TabsList to active tab after remount (when key changes)
690
useEffect(() => {
691
+ // Enabled only in test mode
692
+ // https://github.com/MetaMask/metamask-mobile/pull/22632
693
const isInTestMode = process.env.JEST_WORKER_ID || process.env.E2E;
694
if (tabsListRef.current && activeIndex >= 0 && isInTestMode) {
695
tabsListRef.current.goToTabIndex(activeIndex);
0 commit comments