We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07dfb6 commit 68264bdCopy full SHA for 68264bd
1 file changed
frontend/src/routes/pj-registration.tsx
@@ -1,6 +1,6 @@
1
import { zodResolver } from "@hookform/resolvers/zod"
2
import { useMutation, useQuery } from "@tanstack/react-query"
3
-import { createFileRoute, useNavigate } from "@tanstack/react-router"
+import { createFileRoute } from "@tanstack/react-router"
4
import { useState } from "react"
5
import { useForm } from "react-hook-form"
6
import { z } from "zod"
@@ -396,7 +396,6 @@ function getDefaultValues(company: CompanyPublic | null): RegistrationFormData {
396
function PjRegistration() {
397
const { token } = Route.useSearch()
398
const { showSuccessToast, showErrorToast } = useCustomToast()
399
- const _navigate = useNavigate()
400
const [confirmOpen, setConfirmOpen] = useState(false)
401
const [completed, setCompleted] = useState(false)
402
0 commit comments