diff --git a/docs/src/components/timeline.tsx b/docs/src/components/timeline.tsx index d902073182bf3..b4b56bd283771 100644 --- a/docs/src/components/timeline.tsx +++ b/docs/src/components/timeline.tsx @@ -7,7 +7,7 @@ export interface Item { icon: string; title: string; description?: string; - release: string; + release?: string; tag?: string; date: Date; dateType: DateType; @@ -70,10 +70,10 @@ export default function Timeline({ items }: Props): JSX.Element { target="_blank" rel="noopener" > - [{item.release}]{' '} + [{item.release ?? item.tag}]{' '} ) : ( - [{item.release}] + item.release && [{item.release}] )}