Navigate to user verification after accepting terms and conditions

This commit is contained in:
Shreerang Kale 2024-07-25 17:50:27 +05:30 committed by Adw8
parent b0456fa16a
commit eb1595af0f
2 changed files with 2 additions and 2 deletions

View File

@ -19,11 +19,11 @@ function App() {
<WalletConnectProvider> <WalletConnectProvider>
<Routes> <Routes>
<Route path="/" element={<TermsAndConditions />} /> <Route path="/" element={<TermsAndConditions />} />
<Route path="/connect-wallet" element={<ConnectWallet />} />
<Route <Route
path="/user-verification" path="/user-verification"
element={<UserVerification />} element={<UserVerification />}
/> />
<Route path="/connect-wallet" element={<ConnectWallet />} />
<Route element={<SignPageLayout />}> <Route element={<SignPageLayout />}>
<Route path="/sign-with-nitro-key/:userId" element={<SignWithNitroKey />} /> <Route path="/sign-with-nitro-key/:userId" element={<SignWithNitroKey />} />
<Route <Route

View File

@ -6,7 +6,7 @@ const TermsAndConditions: React.FC = () => {
const navigate = useNavigate(); const navigate = useNavigate();
const handleAccept = () => { const handleAccept = () => {
navigate('/connect-wallet'); navigate('/user-verification');
}; };
return ( return (