diff --git a/packages/edit-site/src/components/post-edit/header.js b/packages/edit-site/src/components/post-edit/header.js
index 582344a933b50..305589d0cc22b 100644
--- a/packages/edit-site/src/components/post-edit/header.js
+++ b/packages/edit-site/src/components/post-edit/header.js
@@ -46,7 +46,12 @@ export default function PostEditHeader( { postType, postId } ) {
);
if ( ids.length === 1 ) {
- return ;
+ return (
+
+ );
}
return (
diff --git a/packages/editor/src/components/post-card-panel/index.js b/packages/editor/src/components/post-card-panel/index.js
index f6f5c3deca9f5..e347d3c79fc52 100644
--- a/packages/editor/src/components/post-card-panel/index.js
+++ b/packages/editor/src/components/post-card-panel/index.js
@@ -64,7 +64,7 @@ export default function PostCardPanel( {
[ postId, postType ]
);
- const pageTypeBadge = usePageTypeBadge( parseInt( postId, 10 ) );
+ const pageTypeBadge = usePageTypeBadge( postId );
return (