fix: add missing newlines at the end of JSON files; clean up formatting in page components
This commit is contained in:
@@ -204,7 +204,10 @@ export default async function NewsletterPage({
|
||||
'secondary'
|
||||
}
|
||||
>
|
||||
{t(NEWSLETTER_STATUS_LABEL_KEYS[String(nl.status)] ?? String(nl.status))}
|
||||
{t(
|
||||
NEWSLETTER_STATUS_LABEL_KEYS[String(nl.status)] ??
|
||||
String(nl.status),
|
||||
)}
|
||||
</Badge>
|
||||
</td>
|
||||
<td className="p-3 text-right">
|
||||
@@ -241,7 +244,12 @@ export default async function NewsletterPage({
|
||||
</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>
|
||||
)}
|
||||
@@ -256,11 +264,19 @@ export default async function NewsletterPage({
|
||||
href={`/home/${account}/newsletter${buildQuery(queryBase, { page: safePage + 1 })}`}
|
||||
aria-label={t('common.next')}
|
||||
>
|
||||
<ChevronRight className="h-4 w-4" aria-hidden="true" />
|
||||
<ChevronRight
|
||||
className="h-4 w-4"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
</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