diff --git a/src/App.tsx b/src/App.tsx index 4737a39..1de6dee 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -14,6 +14,7 @@ import { WalletConnectProvider } from "./context/WalletConnectContext"; import VerifyEmail from "./pages/VerifyEmail"; import Email from "./pages/Email"; import Thanks from "./pages/Thanks"; +import CreateValidator from "./pages/CreateValidator"; function App() { return ( @@ -40,6 +41,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