From 2c570001ff9dda80b588989accdec221bb8fcc6b Mon Sep 17 00:00:00 2001
From: Ella <4710635+ellatrix@users.noreply.github.com>
Date: Fri, 9 Dec 2022 17:15:26 +0200
Subject: [PATCH] Site editor: do not remount iframe (#46431)
---
packages/edit-site/src/components/block-editor/index.js | 5 -----
1 file changed, 5 deletions(-)
diff --git a/packages/edit-site/src/components/block-editor/index.js b/packages/edit-site/src/components/block-editor/index.js
index 6ea9b01d7ce7e2..b2978267654e00 100644
--- a/packages/edit-site/src/components/block-editor/index.js
+++ b/packages/edit-site/src/components/block-editor/index.js
@@ -62,7 +62,6 @@ export default function BlockEditor( { setIsInserterOpen } ) {
const {
storedSettings,
templateType,
- templateId,
page,
isNavigationSidebarOpen,
canvasMode,
@@ -71,7 +70,6 @@ export default function BlockEditor( { setIsInserterOpen } ) {
const {
getSettings,
getEditedPostType,
- getEditedPostId,
getPage,
__unstableGetCanvasMode,
} = select( editSiteStore );
@@ -79,7 +77,6 @@ export default function BlockEditor( { setIsInserterOpen } ) {
return {
storedSettings: getSettings( setIsInserterOpen ),
templateType: getEditedPostType(),
- templateId: getEditedPostId(),
page: getPage(),
isNavigationSidebarOpen:
select( interfaceStore ).getActiveComplementaryArea(
@@ -257,8 +254,6 @@ export default function BlockEditor( { setIsInserterOpen } ) {