From dd1a498ed63ee7f5ca625fb5efc2f26486b3ed8c Mon Sep 17 00:00:00 2001 From: nidhi garg Date: Thu, 27 Jul 2023 12:40:47 +0530 Subject: [PATCH] feat(certificate): code pretty --- src/components/overlays/UpdateCertificate/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/overlays/UpdateCertificate/index.tsx b/src/components/overlays/UpdateCertificate/index.tsx index 71cf68bc5..aa3731af6 100644 --- a/src/components/overlays/UpdateCertificate/index.tsx +++ b/src/components/overlays/UpdateCertificate/index.tsx @@ -68,7 +68,12 @@ export default function UpdateCertificate({ id }: { id: string }) { } } catch (err: any) { setLoading(false) - error(t('content.certificates.updateCertificate.error')+ err.data.errors.unknown[0], '', '') + error( + t('content.certificates.updateCertificate.error') + + err.data.errors.unknown[0], + '', + '' + ) } }