Skip to content

Commit 68264bd

Browse files
chore: remove unused useNavigate import from pj-registration
Co-Authored-By: daniel.resgate <daniel.rider69@gmail.com>
1 parent a07dfb6 commit 68264bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/routes/pj-registration.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { zodResolver } from "@hookform/resolvers/zod"
22
import { useMutation, useQuery } from "@tanstack/react-query"
3-
import { createFileRoute, useNavigate } from "@tanstack/react-router"
3+
import { createFileRoute } from "@tanstack/react-router"
44
import { useState } from "react"
55
import { useForm } from "react-hook-form"
66
import { z } from "zod"
@@ -396,7 +396,6 @@ function getDefaultValues(company: CompanyPublic | null): RegistrationFormData {
396396
function PjRegistration() {
397397
const { token } = Route.useSearch()
398398
const { showSuccessToast, showErrorToast } = useCustomToast()
399-
const _navigate = useNavigate()
400399
const [confirmOpen, setConfirmOpen] = useState(false)
401400
const [completed, setCompleted] = useState(false)
402401

0 commit comments

Comments
 (0)