fix: add missing newlines at the end of JSON files; clean up formatting in page components
This commit is contained in:
@@ -18,7 +18,10 @@ import { Button } from '@kit/ui/button';
|
||||
import { Card, CardContent, CardHeader, CardTitle } from '@kit/ui/card';
|
||||
|
||||
import { CmsPageShell } from '~/components/cms-page-shell';
|
||||
import { EVENT_STATUS_LABEL_KEYS, EVENT_STATUS_VARIANT } from '~/lib/status-badges';
|
||||
import {
|
||||
EVENT_STATUS_LABEL_KEYS,
|
||||
EVENT_STATUS_VARIANT,
|
||||
} from '~/lib/status-badges';
|
||||
|
||||
import { DeleteEventButton } from './delete-event-button';
|
||||
|
||||
@@ -64,8 +67,10 @@ export default async function EventDetailPage({ params }: PageProps) {
|
||||
}
|
||||
className="mt-1"
|
||||
>
|
||||
{t(EVENT_STATUS_LABEL_KEYS[String(eventData.status)] ??
|
||||
String(eventData.status))}
|
||||
{t(
|
||||
EVENT_STATUS_LABEL_KEYS[String(eventData.status)] ??
|
||||
String(eventData.status),
|
||||
)}
|
||||
</Badge>
|
||||
</div>
|
||||
<Button>
|
||||
|
||||
Reference in New Issue
Block a user