diff --git a/src/components/HorizontalTimeline.tsx b/src/components/HorizontalTimeline.tsx index ec132b1eff660bddfb4cac74fe3d4ffd5c2e1247..36b2f2d180e93a625f4e0ece438725feaa414065 100644 --- a/src/components/HorizontalTimeline.tsx +++ b/src/components/HorizontalTimeline.tsx @@ -133,7 +133,6 @@ function TimeItem({tag, title, pic, author, tabid, month}: ItemProps){ author={name} tabid={timelinedata[i].interviewtabid} month={timelinedata[i].months} > - {timelinedata[i].cardtext} </TimeItem>) } } @@ -171,7 +170,7 @@ function TimeItem({tag, title, pic, author, tabid, month}: ItemProps){ interface ItemProps { title: string , - children: React.ReactNode; + children?: React.ReactNode; tag: string, pic: string, author: string, @@ -200,7 +199,6 @@ function TimeItem({tag, title, pic, author, tabid, month}: ItemProps){ author={name} tabid={timelinedata[i].interviewtabid} month={timelinedata[i].months} > - {timelinedata[i].cardtext} </TimeItemMeta>) } else{ @@ -218,7 +216,6 @@ function TimeItem({tag, title, pic, author, tabid, month}: ItemProps){ author={name} tabid={timelinedata[i].interviewtabid} month={timelinedata[i].months} > - {timelinedata[i].cardtext} </TimeItem>) } @@ -246,7 +243,6 @@ function TimeItem({tag, title, pic, author, tabid, month}: ItemProps){ author={name} tabid={timelinedata[i].interviewtabid} month={timelinedata[i].months} > - {timelinedata[i].cardtext} </TimeItem>) } }