diff --git a/packages/neuron-ui/src/router.tsx b/packages/neuron-ui/src/router.tsx index ebbe5b7660..68525b4d32 100644 --- a/packages/neuron-ui/src/router.tsx +++ b/packages/neuron-ui/src/router.tsx @@ -65,31 +65,6 @@ const mainRouterConfig: RouteObject[] = [ ), children: [...toolsRouters], }, - { - path: 'send', - children: [ - { - path: '', - element: ( - <> - - - - ), - children: [...toolsRouters], - }, - { - path: ':address?', - element: ( - <> - - - - ), - children: [...toolsRouters], - }, - ], - }, { path: ':hash', element: ( @@ -102,6 +77,31 @@ const mainRouterConfig: RouteObject[] = [ }, ], }, + { + path: RoutePath.Send, + children: [ + { + path: '', + element: ( + <> + + + + ), + children: [...toolsRouters], + }, + { + path: ':address?', + element: ( + <> + + + + ), + children: [...toolsRouters], + }, + ], + }, { path: RoutePath.History, children: [ diff --git a/packages/neuron-ui/src/utils/enums.ts b/packages/neuron-ui/src/utils/enums.ts index cdeb8bd5e8..392ecb58c0 100644 --- a/packages/neuron-ui/src/utils/enums.ts +++ b/packages/neuron-ui/src/utils/enums.ts @@ -9,7 +9,7 @@ export enum RoutePath { Overview = '/overview', WalletWizard = '/wizard/', Wallet = '/wallet', - Send = '/overview/send', + Send = '/send', Receive = '/receive', History = '/history', Settings = '/settings',