Skip to content

Commit d126adb

Browse files
committed
fix: improved usage of zod into content schema
1 parent 418f992 commit d126adb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { defineCollection, type ImageFunction } from 'astro:content';
1+
import { defineCollection, type ImageFunction, z } from 'astro:content';
22
import { glob } from 'astro/loaders';
3-
import { z } from 'zod';
43

54
export const seoSchemaWithoutImage = z.object({
65
title: z.string(),

0 commit comments

Comments
 (0)