feat: remove unused breadcrumb and news detail data components, update TNewsDetail type definition

This commit is contained in:
Ardeman
2025-03-08 15:02:11 +08:00
parent fc67298a85
commit 1c6bf68b1e
4 changed files with 1 additions and 63 deletions
-2
View File
@@ -11,8 +11,6 @@ type TParameters = {
slug: string
} & THttpServer
export type TNewDetailResponse = z.infer<typeof dataResponseSchema>
export const getNewsBySlug = async (parameters: TParameters) => {
const { slug, accessToken } = parameters
try {