From cdda5bdf862e12246244b635c310e749283def37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Voskuhl?= <juergen.voskuhl@itcv-software.com>
Date: Sat, 30 Sep 2023 19:00:12 +0200
Subject: [PATCH] Fixed typos

---
 components/it-standards/InfoBoxes.tsx      | 4 ++--
 components/it-standards/PageHeaderCard.tsx | 4 ++--
 pages/standards/index.tsx                  | 9 +--------
 3 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/components/it-standards/InfoBoxes.tsx b/components/it-standards/InfoBoxes.tsx
index b70421f..e9cbb1d 100644
--- a/components/it-standards/InfoBoxes.tsx
+++ b/components/it-standards/InfoBoxes.tsx
@@ -80,7 +80,7 @@ export function InfoBoxes({
                             (supportInfo.map((myItem: LinkItem, key) => {
                                 return (
                                     <div className="flex" key={`${key}`}>
-                                        { (myItem.url !== '' 
+                                        { (myItem.url !== ''
                                             ? <div className={'leading-7 ' + `${myItem.name}`}>
                                                 <Link href={myItem.url} passHref legacyBehavior>
                                                     <a target="_blank">{myItem.name}</a>
@@ -106,7 +106,7 @@ export function InfoBoxes({
                                 return (
                                     <div className="flex" key={`${key}`}>
                                         <div className={'leading-7'}>
-                                            { myItem.url === 'n.v.' 
+                                            { myItem.url === 'n.v.'
                                                 ? getArtefactName(myItem) + ' (n.v.)'
                                                 : <Link href={myItem.url} passHref legacyBehavior>
                                                     <a target="_blank">{
diff --git a/components/it-standards/PageHeaderCard.tsx b/components/it-standards/PageHeaderCard.tsx
index fe0b49b..bd2dcec 100644
--- a/components/it-standards/PageHeaderCard.tsx
+++ b/components/it-standards/PageHeaderCard.tsx
@@ -56,8 +56,8 @@ export default ({ title, description, img, status, children }: HeaderOptions) =>
                     </div>
                 </div>
                 {
-                    (children !== undefined ?
-                        <div className="p-6 bg-gray-50 rounded-b-lg md:px-8 flex flex-row items-center gap-16">
+                    (children !== undefined
+                        ? <div className="p-6 bg-gray-50 rounded-b-lg md:px-8 flex flex-row items-center gap-16">
                             {children}
                         </div>
                         : null
diff --git a/pages/standards/index.tsx b/pages/standards/index.tsx
index d80c269..7170a40 100644
--- a/pages/standards/index.tsx
+++ b/pages/standards/index.tsx
@@ -59,11 +59,6 @@ export default function ({ contentsString }) {
         return content.childResources.length > 0
     }
 
-    function getContactTypeName(contactType: string) {
-        const found = MY_CONSTANTS.CONTACT_TYPES.filter((item) => item.id === contactType)[0]
-        return (found !== undefined ? found.text : '#INVALID')
-    }
-
     return (
         <div className='container it-standards'>
             <div className="">
@@ -166,8 +161,6 @@ export default function ({ contentsString }) {
                                                 </div>
                                             </div>
 
-
-
                                             {/* OLD!
                                                 <div className="container flex flex-col md:flex-row my-2">
                                                     {service.tags.map((tag: Tag, key: number) => {
@@ -190,7 +183,7 @@ export default function ({ contentsString }) {
                                             <div className="inline-flex ">
                                                 {/* Render contact tags */}
                                                 {
-                                                    (service.productOwner.organisation !== '' 
+                                                    (service.productOwner.organisation !== ''
                                                         ? <div className="">
                                                             <div className={`${MY_CONSTANTS.BG_COLORS.ROLES} inline-flex items-center text-xs px-2 py-1 my-1 mr-4 rounded-full`}>
                                                                 <div className="flex-shrink-0 w-4 ml-1 mr-2 max-h-3 flex align-bottom">
-- 
GitLab