From 10b4e276c723f04faea1bf2bde1ad3d5f4abac03 Mon Sep 17 00:00:00 2001 From: Marcelo Serpa <81248+fullofcaffeine@users.noreply.github.com> Date: Thu, 14 Dec 2023 10:32:07 -0600 Subject: [PATCH] Remove redundant ? --- .../sync-state-with-url/use-init-edited-entity-from-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/sync-state-with-url/use-init-edited-entity-from-url.js b/packages/edit-site/src/components/sync-state-with-url/use-init-edited-entity-from-url.js index 644b0bc0a253f..7b1321fdf4b8a 100644 --- a/packages/edit-site/src/components/sync-state-with-url/use-init-edited-entity-from-url.js +++ b/packages/edit-site/src/components/sync-state-with-url/use-init-edited-entity-from-url.js @@ -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,