Skip to content

Commit

Permalink
fix: archive page title improvements (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
melniiv committed May 21, 2024
1 parent c7ef71e commit 1a39f61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha275",
"version": "1.0.0-alpha277",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export function SearchPageContent(props: SearchPageContentProps) {
korosBottomClassName={styles.koros}
>
<div className={styles.searchFormContainerInner}>
<h1>{archiveSearch.title || ''}</h1>
<h1>{page?.title || archiveSearch.title || ''}</h1>
<div>
<SearchForm
archiveSearch={archiveSearch}
Expand Down

0 comments on commit 1a39f61

Please sign in to comment.