We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb8111 commit cc62badCopy full SHA for cc62bad
packages/tradershub/src/routes/TradersHubRoute/TradersHubRoute.tsx
@@ -18,8 +18,7 @@ const TradersHubRoute = () => {
18
const { isMobile } = useBreakpoint();
19
const { data: isDIEL } = useIsDIELEnabled();
20
const { uiState } = useUIContext();
21
- const accountType = uiState.accountType;
22
- const regulation = uiState.regulation;
+ const { accountType, regulation } = uiState;
23
const isReal = accountType === 'real';
24
const isDemo = accountType === 'demo';
25
const { hasActiveDerivAccount } = useRegulationFlags(regulation, accountType);
0 commit comments