feat: integrate news data fetching by slug and update ContentsFormPage to utilize fetched data
This commit is contained in:
@@ -9,7 +9,7 @@ const authorSchema = z.object({
|
||||
name: z.string(),
|
||||
profile_picture: z.string(),
|
||||
})
|
||||
const newsResponseSchema = z.object({
|
||||
export const newsResponseSchema = z.object({
|
||||
id: z.string(),
|
||||
title: z.string(),
|
||||
content: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user