Skip to content

Commit 620eaed

Browse files
committed
fixup!
1 parent a4a02f4 commit 620eaed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/generators/jsx-ast/utils/buildContent.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,12 @@ export const createDocumentLayout = (entries, metadata) =>
297297
*/
298298
const buildContent = async (metadataEntries, head) => {
299299
// The metadata is the heading without the node children
300-
const metadata = omitKeys(head, ['content', 'heading', 'stability']);
300+
const metadata = omitKeys(head, [
301+
'content',
302+
'heading',
303+
'stability',
304+
'changes',
305+
]);
301306

302307
// Create root document AST with all layout components and processed content
303308
const root = createDocumentLayout(metadataEntries, metadata);

0 commit comments

Comments
 (0)