diff --git a/packages/trace-viewer/src/ui/annotationsTab.tsx b/packages/trace-viewer/src/ui/annotationsTab.tsx
index b8438df7de..5a2a34c9f1 100644
--- a/packages/trace-viewer/src/ui/annotationsTab.tsx
+++ b/packages/trace-viewer/src/ui/annotationsTab.tsx
@@ -22,10 +22,10 @@ import { linkifyText } from '@web/renderUtils';
type Annotation = { type: string; description?: string; };
export const AnnotationsTab: React.FunctionComponent<{
- annotations: Annotation[] | undefined,
+ annotations: Annotation[],
}> = ({ annotations }) => {
- if (!annotations || !annotations.length)
+ if (!annotations.length)
return