Skip to content

Commit

Permalink
🔨 render {URL} instead of undefined for URLs on preview pages
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Oct 24, 2023
1 parent e7804fc commit ce2e271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/DataPageV2Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const DataPageV2Content = ({
grapherConfig,
isPreviewing = false,
faqEntries,
canonicalUrl,
canonicalUrl = "{URL}", // when we bake pages to their proper url this will be set correctly but on preview pages we leave this undefined
}: DataPageV2ContentFields & {
grapherConfig: GrapherInterface
}) => {
Expand Down

0 comments on commit ce2e271

Please sign in to comment.