Skip to content

Commit

Permalink
fix: remove prefix from slug schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jan 21, 2023
1 parent 3bd5262 commit f824fe4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const withSlugConfig = defineCollection({
slug({ id }) {
return `custom-${id}`;
},
schema: z.object({
prefix: z.string(),
}),
});

const withSchemaConfig = defineCollection({
Expand Down

0 comments on commit f824fe4

Please sign in to comment.