Skip to content

Commit

Permalink
fix: add defineField helper to alt field (#8333)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonGriggs authored Jan 21, 2025
1 parent 9ce399c commit fc456ea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ export const postType = defineType({
hotspot: true,
},
fields: [
{
defineField({
name: 'alt',
type: 'string',
title: 'Alternative text',
}
})
]
}),
defineField({
Expand Down

0 comments on commit fc456ea

Please sign in to comment.