From acf7adf6ca1ab5e9f57e4c02218d9f1564fef12b Mon Sep 17 00:00:00 2001 From: anthonyray Date: Mon, 5 Feb 2024 14:13:39 +0000 Subject: [PATCH] Prettified Code! --- shared/locales/en/website-me.json | 2 +- .../[lang]/[region]/(website)/me/layout-client.tsx | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/shared/locales/en/website-me.json b/shared/locales/en/website-me.json index a7265bd7b..204311b11 100644 --- a/shared/locales/en/website-me.json +++ b/shared/locales/en/website-me.json @@ -14,7 +14,7 @@ "subscriptions": "Subscriptions", "donation-certificates-short": "Certificates", "donation-certificates-long": "Donation certificates" - }, + }, "employer": { "title": "My Employer", "work": "Work" diff --git a/website/src/app/[lang]/[region]/(website)/me/layout-client.tsx b/website/src/app/[lang]/[region]/(website)/me/layout-client.tsx index 9ce875ce7..98bb4c65d 100644 --- a/website/src/app/[lang]/[region]/(website)/me/layout-client.tsx +++ b/website/src/app/[lang]/[region]/(website)/me/layout-client.tsx @@ -4,11 +4,11 @@ import { DefaultParams } from '@/app/[lang]/[region]'; import { UserContext } from '@/app/[lang]/[region]/(website)/me/user-context-provider'; import { ArrowPathIcon, + BriefcaseIcon, CurrencyDollarIcon, DocumentIcon, ShieldCheckIcon, UserCircleIcon, - BriefcaseIcon } from '@heroicons/react/24/outline'; import { Button, Collapsible, CollapsibleContent, CollapsibleTrigger, Typography } from '@socialincome/ui'; import { LinkProps } from 'next/dist/client/link'; @@ -52,8 +52,8 @@ type LayoutClientProps = { subscriptions: string; donationCertificatesShort: string; donationCertificatesLong: string; - employerTitle: string, - work: string, + employerTitle: string; + work: string; }; }; @@ -87,8 +87,7 @@ export function LayoutClient({ params, translations, children }: PropsWithChildr > {translations.donationCertificatesShort} - ) - } + )} {translations.employerTitle} {translations.security} - + ); let title;