Skip to content

Commit e299ece

Browse files
committed
fix: Fixed reloading badge issue
1 parent 28e195e commit e299ece

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/appstore/src/components/cfds-listing/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const CFDsListing = observer(() => {
8686
is_populating_mt5_account_list,
8787
real_account_creation_unlock_date,
8888
ctrader_total_balance,
89+
updateMT5AccountDetails,
8990
} = client;
9091
const { setAppstorePlatform } = common;
9192
const { openDerivRealAccountNeededModal, setShouldShowCooldownModal } = ui;
@@ -179,6 +180,7 @@ const CFDsListing = observer(() => {
179180
setPerformanceValue('switch_from_demo_to_real_time');
180181
setPerformanceValue('switch_from_real_to_demo_time');
181182
}
183+
updateMT5AccountDetails();
182184
}, [is_landing_company_loaded, is_populating_mt5_account_list]);
183185

184186
return (

packages/stores/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,7 @@ type TTradersHubStore = {
11751175
setIsSetupRealAccountOrGoToDemoModalVisible: (value: boolean) => void;
11761176
selected_jurisdiction_kyc_status: Record<string, string>;
11771177
setSelectedJurisdictionKYCStatus: (value: Record<string, string>) => void;
1178+
getDefaultJurisdiction: () => string;
11781179
};
11791180

11801181
type TContractReplay = {

0 commit comments

Comments
 (0)