feat(app): add route for manage validator

This commit is contained in:
RadoslavDimchev 2024-03-22 11:16:16 +02:00 committed by Emil Ivanichkov
parent 6a8eb1f648
commit 0f39cd8f80
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@ import Activation from './pages/ValidatorOnboarding/Activation/Activation'
import ConfirmRecoveryPhrase from './pages/ValidatorOnboarding/KeyGeneration/ConfirmRecoveryPhrase/ConfirmRecoveryPhrase'
import Deposit from './pages/ValidatorOnboarding/Deposit/Deposit'
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
import ManageValidator from './pages/ValidatorManagement/ManageValidator/ManageValidator'
const injected = injectedModule()
const walletConnect = walletConnectModule(wcV2InitOptions)
@ -102,6 +103,10 @@ const router = createBrowserRouter([
path: '/validator-management',
element: <ValidatorManagement />,
},
{
path: '/validator-management/:validatorName',
element: <ManageValidator />,
},
])
function App() {