-
-
+ return (
+
+
+
- {title}
+
+ {title}
+
+ {children}
- {children}
+
+
+ {actions}
+
-
- {actions}
-
-
-
- );
-};
+ );
+ }
+);
-export default observer(CurrentSwitcherContainer);
+export default CurrentSwitcherContainer;
diff --git a/packages/stores/src/mockStore.ts b/packages/stores/src/mockStore.ts
index f39cee715eeb..e25010324f36 100644
--- a/packages/stores/src/mockStore.ts
+++ b/packages/stores/src/mockStore.ts
@@ -282,6 +282,7 @@ const mock = (): TStores & { is_mock: boolean } => {
no_CR_account: false,
no_MF_account: false,
setTogglePlatformType: jest.fn(),
+ is_demo: false,
},
menu: {
attach: jest.fn(),
diff --git a/packages/stores/types.ts b/packages/stores/types.ts
index 46c43cf2f0fd..e4a76c2a7940 100644
--- a/packages/stores/types.ts
+++ b/packages/stores/types.ts
@@ -310,6 +310,7 @@ type TTradersHubStore = {
selected_account_type: string;
no_CR_account: boolean;
no_MF_account: boolean;
+ is_demo: boolean;
};
/**