Skip to content

Commit

Permalink
Update preview feature
Browse files Browse the repository at this point in the history
  • Loading branch information
viphan007 committed Jun 26, 2024
1 parent 9c74fa2 commit 6a2588c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ const PreviewPage = () => {
data={moduleConfig}
locale={locale.code}
sharedCopy={sharedCopy}
previewMode
/>
)
default:
Expand Down
1 change: 1 addition & 0 deletions src/templates/ContentfulDownloadLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const DownloadPage = props => {
locale={locale}
localizedPages={localizedPages}
sharedCopy={sharedCopy}
previewMode
>
{seo &&
contentfulModuleToComponent({
Expand Down

0 comments on commit 6a2588c

Please sign in to comment.