diff --git a/packages/core/src/lib/registry.ts b/packages/core/src/lib/registry.ts index dcb9d290..3655976d 100644 --- a/packages/core/src/lib/registry.ts +++ b/packages/core/src/lib/registry.ts @@ -140,10 +140,10 @@ export function getPreviewCard(name: string): TemplatePreviewCardComponent( +export function registerFieldPreview( collectionName: string, fieldName: string, - component: FieldPreviewComponent, + component: FieldPreviewComponent, ) { if (!(collectionName in registry.fieldPreviews)) { registry.fieldPreviews[collectionName] = {};