From ce227eaef053444ec46f3f550cf12dfd1e9ae713 Mon Sep 17 00:00:00 2001 From: Kai Hao Date: Thu, 29 Jun 2023 18:32:34 +0800 Subject: [PATCH] Fix history back after entering edit mode from Patterns --- 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 fa6793ca781786..726f7a9896adc2 100644 --- a/packages/edit-site/src/components/page-library/grid-item.js +++ b/packages/edit-site/src/components/page-library/grid-item.js @@ -52,7 +52,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 ) => {