Skip to content

Commit 8bf8d22

Browse files
committed
chore: switched the check
1 parent 2286cf2 commit 8bf8d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/Stores/traders-hub-store.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ export default class TradersHubStore extends BaseStore {
861861
? {
862862
// This is for backward compatibility
863863
// before BE change, EU market_type is financial. With BE change, EU market_type becomes standard
864-
icon: account.market_type === 'financial' ? account.icon : 'Standard',
865-
name: account.market_type === 'financial' ? account.name : 'Standard',
864+
icon: account.market_type === 'synthetic' ? 'Standard' : account.icon,
865+
name: account.market_type === 'synthetic' ? 'Standard' : account.name,
866866
platform: account.platform,
867867
description: account.description,
868868
key: `trading_app_card_${account.name}`,

0 commit comments

Comments
 (0)