From 065ebd57cd9da8e9e6c74152f7ab1200d6a6d013 Mon Sep 17 00:00:00 2001
From: Michal Sapka <michal@sapka.me>
Date: Sun, 4 Sep 2022 22:34:11 +0200
Subject: feat: add missing types

---
 pages/index.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 1212d08b..4477d0b0 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -18,7 +18,12 @@ import {
 import { AiFillGithub,AiFillMediumCircle} from "react-icons/ai";
 import Publications from "../data/publications"
 
-const BioEntry = ({date, description}) => {
+type BioEntryType = {
+  date: string,
+  description: string
+}
+
+const BioEntry = ({date, description} : BioEntryType) => {
   return <HStack spacing="6" alignItems="start">
       <Box fontWeight='bolder'>{date}</Box>
       <Box>{description}</Box>
-- 
cgit v1.2.3

