From b420dafc68ff32535a632de2eb1da0702889ac56 Mon Sep 17 00:00:00 2001 From: Artem Alexeyenko Date: Fri, 20 Oct 2023 16:55:42 -0400 Subject: [PATCH] Update Layout.tsx --- .../src/templates/nextjs/src/Layout.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/create-sitecore-jss/src/templates/nextjs/src/Layout.tsx b/packages/create-sitecore-jss/src/templates/nextjs/src/Layout.tsx index e6df88baed..80f6c90924 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs/src/Layout.tsx +++ b/packages/create-sitecore-jss/src/templates/nextjs/src/Layout.tsx @@ -6,12 +6,11 @@ import { Field, HTMLLink, } from '@sitecore-jss/sitecore-jss-nextjs'; -import * as FEAAS from '@sitecore-feaas/clientside/react'; import { getPublicUrl } from '@sitecore-jss/sitecore-jss-nextjs/utils'; import Navigation from 'src/Navigation'; import Scripts from 'src/Scripts'; -// The bundle imports external (BYOC) components into the app. below will ensure they are ready to be used. -import 'src/byoc'; +// The bundle imports external (BYOC) components into the app and makes sure they are ready to be used. +import BYOC from 'src/byoc'; // Prefix public assets with a public URL to enable compatibility with Sitecore editors. // If you're not supporting Sitecore editors, you can remove this. @@ -35,7 +34,7 @@ const Layout = ({ layoutData, headLinks }: LayoutProps): JSX.Element => { return ( <> - + {fields.pageTitle.value.toString() || 'Page'}