generated from muhtadeetaron/nextjs-template
added exam routes
This commit is contained in:
@ -58,7 +58,7 @@ export default function RegisterPage() {
|
||||
}
|
||||
try {
|
||||
await register(form, setToken);
|
||||
router.push("/tabs/home");
|
||||
router.push("/home");
|
||||
} catch (error: any) {
|
||||
console.error("Error:", error.response || error.message);
|
||||
if (error.response?.detail) {
|
||||
|
||||
Reference in New Issue
Block a user