Skip to content

Commit

Permalink
[SXA] hotfix: change name of property (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
matkovskyi committed Jun 17, 2022
1 parent ba9dde0 commit e46bdb3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -22,7 +22,7 @@ interface LayoutProps {

interface RouteFields {
[key: string]: unknown;
pageTitle: Field;
Title: Field;
}

const Layout = ({ layoutData }: LayoutProps): JSX.Element => {
Expand All @@ -33,7 +33,7 @@ const Layout = ({ layoutData }: LayoutProps): JSX.Element => {
return (
<>
<Head>
<title>{fields?.pageTitle.value.toString() || 'Page'}</title>
<title>{fields?.Title.value.toString() || 'Page'}</title>
<link rel="icon" href={`${publicUrl}/favicon.ico`} />
</Head>

Expand Down

0 comments on commit e46bdb3

Please sign in to comment.