Skip to content

Commit

Permalink
fix: fix homepage schema
Browse files Browse the repository at this point in the history
  • Loading branch information
harshsoni-harsh committed Feb 14, 2025
1 parent 17c907a commit 2ab8886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sanity/schemaTypes/home/HomePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const MainCarouselImage = defineType({
defineField({
name: 'url',
title: 'Image URL',
type: 'url',
type: 'string',
validation: (Rule) => Rule.required(),
}),
defineField({
Expand All @@ -25,7 +25,7 @@ export const MainCarouselImage = defineType({
defineField({
name: 'link',
title: 'Link',
type: 'url',
type: 'string',
}),
],
});
Expand Down

0 comments on commit 2ab8886

Please sign in to comment.