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 <rotimi-best@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-07-10 05:51:36 +00:00
co-authored by Rotimi Best
parent 5de1f51e76
commit 9cedaf8153
11 changed files with 22 additions and 27 deletions
@@ -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) {