(props: Props)
| 41 | } |
| 42 | |
| 43 | export default function BlogListPage(props: Props): JSX.Element { |
| 44 | React.useEffect(() => { |
| 45 | const timerId = setTimeout(() => { |
| 46 | const pageViewData = { |
| 47 | event: "Initialize_dataLayer", |
| 48 | document_type: "Blog", |
| 49 | document_title: document.title, |
| 50 | article_author: undefined, |
| 51 | tags: undefined, |
| 52 | }; |
| 53 | pushGtmEvent(pageViewData); |
| 54 | }, 50); |
| 55 | |
| 56 | return () => clearTimeout(timerId); |
| 57 | }, []); |
| 58 | return ( |
| 59 | <HtmlClassNameProvider |
| 60 | className={clsx( |
| 61 | ThemeClassNames.wrapper.blogPages, |
| 62 | ThemeClassNames.page.blogListPage, |
| 63 | )} |
| 64 | > |
| 65 | <BlogListPageMetadata {...props} /> |
| 66 | <BlogListPageContent {...props} /> |
| 67 | </HtmlClassNameProvider> |
| 68 | ); |
| 69 | } |
nothing calls this directly
no test coverage detected