feat: create NewsAuthor component and update news detail page

This commit is contained in:
fredy.siswanto
2025-03-08 21:29:39 +07:00
parent 06608c7b5d
commit 0b6327e2fb
4 changed files with 42 additions and 47 deletions
+1
View File
@@ -29,6 +29,7 @@ const dataResponseSchema = z.object({
})
export type TNewsResponse = z.infer<typeof newsResponseSchema>
export type TAuthor = z.infer<typeof authorSchema>
export const getNews = async (parameters: THttpServer) => {
try {