Skip to content

Commit c883605

Browse files
committed
fix: add missing beforeDocumentControls and editMenuItems to import map
1 parent ba5834b commit c883605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/payload/src/bin/generateImportMap/iterateGlobals.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export function iterateGlobals({
2929
imports,
3030
})
3131

32+
addToImportMap(global.admin?.components?.elements?.beforeDocumentControls)
33+
addToImportMap(global.admin?.components?.elements?.editMenuItems)
3234
addToImportMap(global.admin?.components?.elements?.Description)
3335
addToImportMap(global.admin?.components?.elements?.PreviewButton)
3436
addToImportMap(global.admin?.components?.elements?.PublishButton)

0 commit comments

Comments
 (0)