From aa1bdc493e833ea92f527dced9e22725ca2082b2 Mon Sep 17 00:00:00 2001 From: Thisyahlen Date: Thu, 14 Dec 2023 15:54:42 +0800 Subject: [PATCH] chore: komen --- packages/appstore/src/components/routes/routes.tsx | 1 - packages/tradershub/src/routes/Router.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/appstore/src/components/routes/routes.tsx b/packages/appstore/src/components/routes/routes.tsx index bea977dac185..58a844e118be 100644 --- a/packages/appstore/src/components/routes/routes.tsx +++ b/packages/appstore/src/components/routes/routes.tsx @@ -20,7 +20,6 @@ const Routes: React.FC = observer(() => { if (is_next_wallet_enabled) { content = Wallets; } - // else if (should_show_wallets) { // content = WalletsModule; // } diff --git a/packages/tradershub/src/routes/Router.tsx b/packages/tradershub/src/routes/Router.tsx index 99c1ff67fc1a..8ac277b87326 100644 --- a/packages/tradershub/src/routes/Router.tsx +++ b/packages/tradershub/src/routes/Router.tsx @@ -4,7 +4,7 @@ import { TradersHubRoute } from './TradersHubRoute'; const prefix = '/traders-hub'; -type TRoutes = `${typeof prefix}${'' | '/compare-account'}`; +type TRoutes = `${typeof prefix}${'' | '/compare-account' | 'onboarding'}`; declare module 'react-router-dom' { export function useHistory(): { push: (path: TRoutes) => void };