fix: add missing newlines at the end of JSON files; clean up formatting in page components
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
|
||||
import { createCourseManagementApi } from '@kit/course-management/api';
|
||||
import { CreateCourseForm } from '@kit/course-management/components';
|
||||
import { getSupabaseServerClient } from '@kit/supabase/server-client';
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
|
||||
import { AccountNotFound } from '~/components/account-not-found';
|
||||
import { CmsPageShell } from '~/components/cms-page-shell';
|
||||
|
||||
@@ -88,8 +88,10 @@ export default async function CourseDetailPage({ params }: PageProps) {
|
||||
'secondary'
|
||||
}
|
||||
>
|
||||
{t(COURSE_STATUS_LABEL_KEYS[String(courseData.status)] ??
|
||||
String(courseData.status))}
|
||||
{t(
|
||||
COURSE_STATUS_LABEL_KEYS[String(courseData.status)] ??
|
||||
String(courseData.status),
|
||||
)}
|
||||
</Badge>
|
||||
</div>
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user