From 99072ff36380b48dc5a636c0baba3e24e584f9b9 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 4 Jun 2024 16:56:25 +0100 Subject: [PATCH] Fix small bug --- packages/edit-site/src/components/editor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js index 08508ebd97344f..779b69cdeeef21 100644 --- a/packages/edit-site/src/components/editor/index.js +++ b/packages/edit-site/src/components/editor/index.js @@ -191,7 +191,7 @@ export default function EditSiteEditor( { isLoading } ) { postWithTemplate ? contextPostType : editedPostType } postId={ postWithTemplate ? contextPostId : editedPostId } - templateId={ postWithTemplate ? contextPostId : undefined } + templateId={ postWithTemplate ? editedPostId : undefined } settings={ settings } className={ clsx( 'edit-site-editor__editor-interface', { 'show-icon-labels': showIconLabels,