From a49c9a7e9d4fa1b8a567efc8e21be78380a9e411 Mon Sep 17 00:00:00 2001
From: Tim Kolberger <tim@kolberger.eu>
Date: Thu, 11 May 2023 22:53:29 +0200
Subject: [PATCH] chore: type members array instead of the item to hoist the
 truth

---
 src/feature/codementors/Members.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/feature/codementors/Members.tsx b/src/feature/codementors/Members.tsx
index 20f2517..ed1b443 100644
--- a/src/feature/codementors/Members.tsx
+++ b/src/feature/codementors/Members.tsx
@@ -28,14 +28,14 @@ interface AuthorProps {
   name: string;
   image_url: string;
   url: string;
-  title: string;
+  title?: string;
 }
 
 export const Members = () => {
-  const members = Object.values(authors);
+  const members: AuthorProps[] = Object.values(authors);
   return (
     <div className={styles.members}>
-      {members.map(({ name, image_url: imageUrl, url, title }: AuthorProps) => (
+      {members.map(({ name, image_url: imageUrl, url, title }) => (
         <Member
           key={name}
           name={name}
-- 
GitLab