fix: add missing newlines at the end of JSON files; clean up formatting in page components
This commit is contained in:
@@ -216,8 +216,10 @@ export default async function FinancePage({ params, searchParams }: PageProps) {
|
||||
'secondary'
|
||||
}
|
||||
>
|
||||
{t(BATCH_STATUS_LABEL_KEYS[String(batch.status)] ??
|
||||
String(batch.status))}
|
||||
{t(
|
||||
BATCH_STATUS_LABEL_KEYS[String(batch.status)] ??
|
||||
String(batch.status),
|
||||
)}
|
||||
</Badge>
|
||||
</td>
|
||||
<td className="p-3">
|
||||
@@ -318,7 +320,11 @@ export default async function FinancePage({ params, searchParams }: PageProps) {
|
||||
'secondary'
|
||||
}
|
||||
>
|
||||
{t(INVOICE_STATUS_LABEL_KEYS[String(invoice.status)] ?? String(invoice.status))}
|
||||
{t(
|
||||
INVOICE_STATUS_LABEL_KEYS[
|
||||
String(invoice.status)
|
||||
] ?? String(invoice.status),
|
||||
)}
|
||||
</Badge>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -347,7 +353,12 @@ export default async function FinancePage({ params, searchParams }: PageProps) {
|
||||
</Link>
|
||||
</Button>
|
||||
) : (
|
||||
<Button variant="outline" size="sm" disabled aria-label={t('common.previous')}>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
disabled
|
||||
aria-label={t('common.previous')}
|
||||
>
|
||||
<ChevronLeft className="h-4 w-4" aria-hidden="true" />
|
||||
</Button>
|
||||
)}
|
||||
@@ -366,7 +377,12 @@ export default async function FinancePage({ params, searchParams }: PageProps) {
|
||||
</Link>
|
||||
</Button>
|
||||
) : (
|
||||
<Button variant="outline" size="sm" disabled aria-label={t('common.next')}>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
disabled
|
||||
aria-label={t('common.next')}
|
||||
>
|
||||
<ChevronRight className="h-4 w-4" aria-hidden="true" />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user