Skip to content

Commit cb24eb5

Browse files
committed
fix: handle fork
1 parent a57dcb3 commit cb24eb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/transactions/Emode/EmodeModalContent.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ export const EmodeModalContent = ({ user }: { user: ExtendedFormattedUser }) =>
106106
}
107107

108108
const isHorizonMarket =
109-
currentMarket === 'proto_horizon_v3' || currentMarket === 'proto_sepolia_horizon_v3';
109+
currentMarket.includes('proto_horizon_v3') ||
110+
currentMarket.includes('fork_proto_horizon_v3') ||
111+
currentMarket.includes('proto_sepolia_horizon_v3');
110112
return isHorizonMarket ? eModeCategories[2] : eModeCategories[1];
111113
};
112114

0 commit comments

Comments
 (0)