Skip to content

Commit

Permalink
Fix the image preview in the Portable Text Editor. (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjonespizza authored Dec 2, 2024
1 parent a4d2259 commit 3b6d6d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sanity/schemas/documents/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default defineType({
},
preview: {
select: {
imageUrl: 'asset.url',
media: 'asset',
title: 'caption',
},
},
Expand Down
2 changes: 1 addition & 1 deletion sanity/schemas/documents/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default defineType({
},
preview: {
select: {
imageUrl: 'asset.url',
media: 'asset',
title: 'caption',
},
},
Expand Down

0 comments on commit 3b6d6d4

Please sign in to comment.