feat: add route for validator management

This commit is contained in:
RadoslavDimchev 2023-11-02 18:00:03 +02:00
parent 3b72a2934d
commit f69738014c

View File

@ -20,6 +20,7 @@ import { ethereumRopsten, wcV2InitOptions, apiKey } from './constants'
import Dashboard from './pages/Dashboard/Dashboard' import Dashboard from './pages/Dashboard/Dashboard'
import ConnectExistingInstance from './pages/ConnectExistingInstance/ConnectExistingInstance' import ConnectExistingInstance from './pages/ConnectExistingInstance/ConnectExistingInstance'
import './App.css' import './App.css'
import ValidatorManagement from './pages/ValidatorManagement/ValidatorManagement'
const injected = injectedModule() const injected = injectedModule()
const walletConnect = walletConnectModule(wcV2InitOptions) const walletConnect = walletConnectModule(wcV2InitOptions)
@ -65,6 +66,7 @@ const router = createBrowserRouter([
{ path: '/create-local-node', element: <CreateLocalNodePage /> }, { path: '/create-local-node', element: <CreateLocalNodePage /> },
{ path: '/validator-onboarding', element: <ValidatorOnboarding /> }, { path: '/validator-onboarding', element: <ValidatorOnboarding /> },
{ path: '/dashboard', element: <Dashboard /> }, { path: '/dashboard', element: <Dashboard /> },
{ path: '/validator-management', element: <ValidatorManagement /> },
]) ])
function App() { function App() {