Skip to content

Commit 1465a34

Browse files
chore: add comment
1 parent 955e4e9 commit 1465a34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/components/UI/Perps/components/PerpsMarketTabs/PerpsMarketTabs.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,8 @@ const PerpsMarketTabs: React.FC<PerpsMarketTabsProps> = ({
688688

689689
// Sync TabsList to active tab after remount (when key changes)
690690
useEffect(() => {
691+
// Enabled only in test mode
692+
// https://github.com/MetaMask/metamask-mobile/pull/22632
691693
const isInTestMode = process.env.JEST_WORKER_ID || process.env.E2E;
692694
if (tabsListRef.current && activeIndex >= 0 && isInTestMode) {
693695
tabsListRef.current.goToTabIndex(activeIndex);

0 commit comments

Comments
 (0)