feat: enhance news detail page with dynamic data loading and social sharing functionality
This commit is contained in:
@@ -11,6 +11,8 @@ 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