diff --git a/src/App.tsx b/src/App.tsx index 596a474..adf451f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,6 +11,7 @@ import UserVerification from "./pages/UserVerification"; import TermsAndConditions from "./pages/TermsAndConditions"; import Header from "./components/Header"; import { WalletConnectProvider } from "./context/WalletConnectContext"; +import CreateValidator from "./pages/CreateValidator"; function App() { return ( @@ -34,6 +35,10 @@ function App() { path="/onboarding-success" element={} > + } + > } /> diff --git a/src/pages/CreateValidator.tsx b/src/pages/CreateValidator.tsx new file mode 100644 index 0000000..a2cf718 --- /dev/null +++ b/src/pages/CreateValidator.tsx @@ -0,0 +1,27 @@ +import { Box, MenuItem, Select, Typography } from '@mui/material' +import React from 'react' +import { useWalletConnectContext } from '../context/WalletConnectContext' +import { useNavigate } from 'react-router-dom'; + +const CreateValidator = () => { + const {session} = useWalletConnectContext(); + const navigate = useNavigate(); + if (!session){ + navigate("/connect-wallet") + } + return ( + + Create a validator + Select Laconic account: + + ) +} + +export default CreateValidator