fix: add missing newlines at the end of JSON files; clean up formatting in page components
This commit is contained in:
@@ -13,7 +13,10 @@ import { AccountNotFound } from '~/components/account-not-found';
|
||||
import { CmsPageShell } from '~/components/cms-page-shell';
|
||||
import { EmptyState } from '~/components/empty-state';
|
||||
import { StatsCard } from '~/components/stats-card';
|
||||
import { EVENT_STATUS_VARIANT, EVENT_STATUS_LABEL_KEYS } from '~/lib/status-badges';
|
||||
import {
|
||||
EVENT_STATUS_VARIANT,
|
||||
EVENT_STATUS_LABEL_KEYS,
|
||||
} from '~/lib/status-badges';
|
||||
|
||||
interface PageProps {
|
||||
params: Promise<{ account: string }>;
|
||||
@@ -156,7 +159,10 @@ export default async function EventRegistrationsPage({ params }: PageProps) {
|
||||
'secondary'
|
||||
}
|
||||
>
|
||||
{t(EVENT_STATUS_LABEL_KEYS[event.status] ?? event.status)}
|
||||
{t(
|
||||
EVENT_STATUS_LABEL_KEYS[event.status] ??
|
||||
event.status,
|
||||
)}
|
||||
</Badge>
|
||||
</td>
|
||||
<td className="p-3 text-right">
|
||||
|
||||
Reference in New Issue
Block a user