update to react-router v7

This commit is contained in:
Amruth Pillai
2025-01-12 19:41:18 +01:00
parent db6e7a7480
commit 7fb0226ddc
45 changed files with 112 additions and 106 deletions

View File

@ -20,7 +20,7 @@ import { cn } from "@reactive-resume/utils";
import { useRef } from "react";
import { Helmet } from "react-helmet-async";
import { useForm } from "react-hook-form";
import { Link, useNavigate } from "react-router-dom";
import { Link, useNavigate } from "react-router";
import { z } from "zod";
import { useRegister } from "@/client/services/auth";
@ -51,7 +51,7 @@ export const RegisterPage = () => {
try {
await register(data);
navigate("/auth/verify-email");
void navigate("/auth/verify-email");
} catch {
form.reset();
}