fix: correct TODO comment formatting in news detail loader

This commit is contained in:
Ardeman 2025-03-08 17:25:24 +08:00
parent f3be8138c4
commit aad67720c1

View File

@ -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,