Skip to content

Commit

Permalink
Fix clicking browser's back button in edit mode from the Library (#51566
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kevin940726 authored and aaronrobertshaw committed Jun 21, 2023
1 parent e54aa4b commit 051b749
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const GridItem = ( { categoryId, composite, icon, item } ) => {
const descriptionId = `edit-site-library__pattern-description-${ instanceId }`;

const { onClick } = useLink( {
path: '/library',
postType: item.type,
postId: item.type === USER_PATTERNS ? item.id : item.name,
categoryId,
Expand Down

0 comments on commit 051b749

Please sign in to comment.