diff --git a/studio/schemas/documents/compensations.ts b/studio/schemas/documents/compensations.ts index c329b6cc4..703567b3b 100644 --- a/studio/schemas/documents/compensations.ts +++ b/studio/schemas/documents/compensations.ts @@ -38,12 +38,7 @@ const compensations = defineType({ ], preview: { select: { - title: "title", - }, - prepare({ title }) { - return { - title, - }; + title: title.name, }, }, });