Skip to content

Commit cc62bad

Browse files
chore: update TradersHubRoute
1 parent dcb8111 commit cc62bad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/tradershub/src/routes/TradersHubRoute/TradersHubRoute.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ const TradersHubRoute = () => {
1818
const { isMobile } = useBreakpoint();
1919
const { data: isDIEL } = useIsDIELEnabled();
2020
const { uiState } = useUIContext();
21-
const accountType = uiState.accountType;
22-
const regulation = uiState.regulation;
21+
const { accountType, regulation } = uiState;
2322
const isReal = accountType === 'real';
2423
const isDemo = accountType === 'demo';
2524
const { hasActiveDerivAccount } = useRegulationFlags(regulation, accountType);

0 commit comments

Comments
 (0)