summaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index 1212d08..4477d0b 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>