diff --git a/src/components/AnnotationViews/AnnotationPageView.tsx b/src/components/AnnotationViews/AnnotationPageView.tsx index 2d25aeb..229fe43 100644 --- a/src/components/AnnotationViews/AnnotationPageView.tsx +++ b/src/components/AnnotationViews/AnnotationPageView.tsx @@ -24,12 +24,14 @@ interface AnnotationPageViewProps { entries: DatasetEntryForAnnotation[]; experimentId: number; viewType: string; + onShowIntro?: () => void; } -export default function AnnotationPageView({ - entries, +export default function AnnotationPageView({ + entries, experimentId, viewType, + onShowIntro, }: AnnotationPageViewProps) { const [isPending, startTransition] = useTransition(); @@ -287,6 +289,15 @@ export default function AnnotationPageView({ + {onShowIntro && ( + + )} + {Object.keys(dialectScores).length > 0 && (