Skip to content

Commit 689b68a

Browse files
committed
Merge remote-tracking branch 'origin/master' into devin/1774905208-adapt-sqlserver
2 parents dff39d4 + 9a91b86 commit 689b68a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/src/routes/pj-registration.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { useForm } from "react-hook-form"
66
import { z } from "zod"
77

88
import {
9+
type ApiError,
910
type CompanyPublic,
1011
type CompanyRegistrationComplete,
1112
InvitesService,
@@ -427,7 +428,7 @@ function PjRegistration() {
427428
},
428429
onError: (err) => {
429430
setConfirmOpen(false)
430-
handleError.call(showErrorToast, err)
431+
handleError.call(showErrorToast, err as ApiError)
431432
},
432433
})
433434

0 commit comments

Comments
 (0)