chore: format

This commit is contained in:
ryan
2026-08-16 21:39:25 +08:00
parent e5d2e4b6d5
commit 55c1fcd5f9
93 changed files with 544 additions and 439 deletions
+5 -9
View File
@@ -96,7 +96,9 @@ export default function WafPage() {
<div className='flex items-center justify-between gap-3'>
<div className='flex items-center gap-2'>
<Shield className='size-5 text-primary' />
<h1 className='text-2xl font-semibold tracking-tight'>{t('title')}</h1>
<h1 className='text-2xl font-semibold tracking-tight'>
{t('title')}
</h1>
</div>
<div className='flex items-center gap-2'>
<Button
@@ -137,10 +139,7 @@ export default function WafPage() {
</CardHeader>
<CardContent>
{loading ? (
<LoadingStateWithBorder
icon={Shield}
description={t('loading')}
/>
<LoadingStateWithBorder icon={Shield} description={t('loading')} />
) : error ? (
<div className='p-8 border border-dashed rounded-lg'>
<ErrorInline
@@ -150,10 +149,7 @@ export default function WafPage() {
/>
</div>
) : groups.length === 0 ? (
<EmptyStateWithBorder
icon={Shield}
description={t('empty')}
/>
<EmptyStateWithBorder icon={Shield} description={t('empty')} />
) : (
<RuleGroupsTable
groups={groups}