From b0a594329c7978a19c11e4554e14e8c0dc61ce73 Mon Sep 17 00:00:00 2001 From: Kai Hao Date: Fri, 30 Jun 2023 10:46:24 +0800 Subject: [PATCH] Fix history back after entering edit mode from Patterns (#52112) --- packages/edit-site/src/components/page-library/grid-item.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/edit-site/src/components/page-library/grid-item.js b/packages/edit-site/src/components/page-library/grid-item.js index 586602d1ac05d..3022dd1bddae9 100644 --- a/packages/edit-site/src/components/page-library/grid-item.js +++ b/packages/edit-site/src/components/page-library/grid-item.js @@ -46,7 +46,6 @@ export default function GridItem( { categoryId, composite, icon, item } ) { postId: item.type === USER_PATTERNS ? item.id : item.name, categoryId, categoryType: item.type, - canvas: 'view', } ); const onKeyDown = ( event ) => {