Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyL0u committed Nov 12, 2024
1 parent 51a4037 commit 330be29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/JumpTo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<span
id="jump-to-related-content-heading"
Expand Down
1 change: 0 additions & 1 deletion src/app/pages/ArticlePage/ArticlePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ const ArticlePage = ({ pageData }: { pageData: Article }) => {
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;
Expand Down

0 comments on commit 330be29

Please sign in to comment.