fix(dashboard): address PR feedback on enroll load and copy
Remove unnecessary getApiKeyHeaders from public course-by-slug fetch. Shorten enrolled_verify_email copy, fix ru.json duplicate keys, and translate enroll verification strings in non-English locales. Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
co-authored by
Rotimi Best
parent
5de1f51e76
commit
9cedaf8153
@@ -56,12 +56,9 @@ export const load = async ({ params, url }) => {
|
||||
}
|
||||
|
||||
const courseResult = await safeServerApi<GetCourseBySlugSuccess>(() =>
|
||||
classroomio.course.slug[':slug'].$get(
|
||||
{
|
||||
param: { slug }
|
||||
},
|
||||
getApiKeyHeaders()
|
||||
)
|
||||
classroomio.course.slug[':slug'].$get({
|
||||
param: { slug }
|
||||
})
|
||||
);
|
||||
|
||||
if (!courseResult.ok || !courseResult.body.data) {
|
||||
|
||||
Reference in New Issue
Block a user