diff --git a/src/components/editor/puck.tsx b/src/components/editor/puck.tsx index 16fa430..3152d69 100644 --- a/src/components/editor/puck.tsx +++ b/src/components/editor/puck.tsx @@ -418,7 +418,7 @@ const config: Config = { let ctx = useContext(dropZoneContext); data = useTemplArray(data); if (ctx?.mode == "edit") { - return
Custom component {`<${component.identifier} />`} will render here
; + return
Custom component {`<${component?.identifier || '??'} />`} will render here
; } else { return ; }