Navigate to user verification after accepting terms and conditions
This commit is contained in:
parent
b0456fa16a
commit
eb1595af0f
@ -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
|
||||||
|
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user