Skip to content

Commit

Permalink
Remove redundant var
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave authored and scruffian committed Jul 10, 2023
1 parent 780fb0c commit 5d6ff30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function GridItem( { categoryId, composite, icon, item } ) {
const { createErrorNotice, createSuccessNotice } =
useDispatch( noticesStore );

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

0 comments on commit 5d6ff30

Please sign in to comment.