♻️ Migrate frontend client generation from openapi-typescript-codegen
to @hey-api/openapi-ts
(#1151)
This commit is contained in:
@@ -37,7 +37,7 @@ const useAuth = () => {
|
||||
navigate({ to: "/" })
|
||||
},
|
||||
onError: (err: ApiError) => {
|
||||
const errDetail = err.body.detail
|
||||
const errDetail = (err.body as any)?.detail
|
||||
setError(errDetail)
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user