Skip to content

Commit

Permalink
Remove redundant ?
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed Dec 14, 2023
1 parent debe1b0 commit 10b4e27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function useResolveEditedEntityAndContext( { postId, postType } ) {
homepageId:
siteData?.show_on_front === 'page' &&
[ 'number', 'string' ].includes(
typeof siteData?.page_on_front
typeof siteData.page_on_front
)
? siteData.page_on_front.toString()
: null,
Expand Down

0 comments on commit 10b4e27

Please sign in to comment.