fix: correct TODO comment formatting in news detail loader
This commit is contained in:
parent
f3be8138c4
commit
aad67720c1
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user