feat: remove unused breadcrumb and news detail data components, update TNewsDetail type definition
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user