Skip to content

Commit 8996c2d

Browse files
authored
Update buildContent.mjs
1 parent a4a02f4 commit 8996c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ 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, ['changes', 'content', 'heading', 'stability']);
301301

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

0 commit comments

Comments
 (0)