Skip to content

Commit

Permalink
Fix breaking seo on draft view
Browse files Browse the repository at this point in the history
  • Loading branch information
koechkevin committed Aug 8, 2024
1 parent 8e9bcdd commit be3bc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/civicsignalblog/src/lib/data/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function getPageSeoFromMeta(page, settings) {
type: "website",
site_name: siteTitle,
};
if (image.url) {
if (image?.url) {
const { alt, height, mimeType: type, url, width } = image;
openGraph.images = [
{
Expand Down

0 comments on commit be3bc2e

Please sign in to comment.