From 330be29aa42f0048d2ff6b3c550c041e2517291c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CLilyL0u=E2=80=9D?= Date: Tue, 12 Nov 2024 14:02:02 +0000 Subject: [PATCH] more lint --- src/app/components/JumpTo/index.tsx | 2 +- src/app/pages/ArticlePage/ArticlePage.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/components/JumpTo/index.tsx b/src/app/components/JumpTo/index.tsx index 4b828afa4c0..1ca2a2aacdd 100644 --- a/src/app/components/JumpTo/index.tsx +++ b/src/app/components/JumpTo/index.tsx @@ -92,7 +92,7 @@ const JumpTo = ({ jumpToHeadings, showRelatedContentLink }: JumpToProps) => { onClick={e => linkClickHandler(e, '#related-content-heading')} css={styles.link} aria-labelledby="jump-to-related-content-heading" - data-testid={`jump-to-link-related-content-heading`} + data-testid="jump-to-related-content-heading" > { const topics = pageData?.metadata?.topics ?? []; const blocks = pageData?.content?.model?.blocks ?? []; const startsWithHeading = blocks?.[0]?.type === 'headline' || false; - console.log('blocks', blocks); const bylineBlock = blocks.find( block => block.type === 'byline', ) as OptimoBylineBlock;