Skip to content

Commit

Permalink
`types(groq-builder): schema "as const"
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrippey committed Dec 7, 2023
1 parent cea1a07 commit 3b71ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/sanity-studio/schemas/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default defineType({
name: "productImage",
title: "Product Image",
type: "productImage",
}),
} as const),
],
}),
defineField({
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/sanity-studio/schemas/variant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default defineType({
name: "productImage",
title: "Product Image",
type: "productImage",
}),
} as const),
],
}),
defineField({
Expand Down

0 comments on commit 3b71ca4

Please sign in to comment.