Skip to content

Commit

Permalink
fix(certificate): add unknown type for error
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw authored Jul 31, 2023
1 parent dd1a498 commit 9dbea20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/overlays/UpdateCertificate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function UpdateCertificate({ id }: { id: string }) {
await addCertificate(data).unwrap()
setSubmitClicked(true)
}
} catch (err: any) {
} catch (err: unknown) {
setLoading(false)
error(
t('content.certificates.updateCertificate.error') +
Expand Down

0 comments on commit 9dbea20

Please sign in to comment.