diff --git a/packages/block-library/src/post-date/edit.js b/packages/block-library/src/post-date/edit.js index ee998f01188248..9421de7d53e39d 100644 --- a/packages/block-library/src/post-date/edit.js +++ b/packages/block-library/src/post-date/edit.js @@ -80,7 +80,14 @@ export default function PostDateEdit( { attributes, context, setAttributes } ) { __( 'No Date' ) ); if ( isLink && date ) { - postDate = { postDate }; + postDate = ( + event.preventDefault() } + > + { postDate } + + ); } return ( <>