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.
2 parents adf0de0 + 6c4a66b commit 9a91b86Copy full SHA for 9a91b86
1 file changed
frontend/src/routes/pj-registration.tsx
@@ -6,6 +6,7 @@ import { useForm } from "react-hook-form"
6
import { z } from "zod"
7
8
import {
9
+ type ApiError,
10
type CompanyPublic,
11
type CompanyRegistrationComplete,
12
InvitesService,
@@ -427,7 +428,7 @@ function PjRegistration() {
427
428
},
429
onError: (err) => {
430
setConfirmOpen(false)
- handleError.call(showErrorToast, err)
431
+ handleError.call(showErrorToast, err as ApiError)
432
433
})
434
0 commit comments