fix: correct TODO comment formatting in news detail loader
This commit is contained in:
@@ -15,7 +15,7 @@ export const loader = async ({ request, params }: Route.LoaderArgs) => {
|
|||||||
})
|
})
|
||||||
userData = data
|
userData = data
|
||||||
}
|
}
|
||||||
// TODO need handle if user not access non premium data
|
// TODO: need handle if user not access non premium data
|
||||||
const { data: newsDetailData } = await getNewsBySlug({
|
const { data: newsDetailData } = await getNewsBySlug({
|
||||||
slug: params.slug,
|
slug: params.slug,
|
||||||
accessToken: userToken,
|
accessToken: userToken,
|
||||||
|
|||||||
Reference in New Issue
Block a user