Skip to content

Commit

Permalink
fix: handle null or undefined case
Browse files Browse the repository at this point in the history
  • Loading branch information
npeham committed Apr 11, 2023
1 parent 366a31d commit 07ce0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function getNextSeoProps(tinaCmsSeoPageProps: any): NextSeoProps {
...tinaCmsSeoPageProps,
facebook: {
appId:
tinaCmsSeoPageProps.facebook[
tinaCmsSeoPageProps?.facebook?.[
CUSTOM_FACEBOOK_FIELD_REQUIRED_APP_ID_NAME
],
},
Expand Down

0 comments on commit 07ce0f9

Please sign in to comment.