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
@@ -162,9 +162,7 @@ export function AuthSection({
<SelectItem value='basic'>Basic Auth</SelectItem>
</SelectContent>
</Select>
<FormDescription>
{t('powHint')}
</FormDescription>
<FormDescription>{t('powHint')}</FormDescription>
<FormMessage />
</FormItem>
)}
@@ -286,7 +286,9 @@ export function CacheSection({
<SelectItem value='path_prefix'>
{t('policyPrefix')}
</SelectItem>
<SelectItem value='path_exact'>{t('policyExact')}</SelectItem>
<SelectItem value='path_exact'>
{t('policyExact')}
</SelectItem>
</SelectContent>
</Select>
<FormMessage />
@@ -349,7 +349,9 @@ export function ProxySection({
</SelectTrigger>
</FormControl>
<SelectContent>
<SelectItem value='none'>{t('pleaseSelect')}</SelectItem>
<SelectItem value='none'>
{t('pleaseSelect')}
</SelectItem>
{tunnelClients.map((tunnel) => (
<SelectItem key={tunnel.id} value={String(tunnel.id)}>
{tunnel.name} (
@@ -426,7 +428,9 @@ export function ProxySection({
</SelectTrigger>
</FormControl>
<SelectContent>
<SelectItem value='none'>{t('pleaseSelect')}</SelectItem>
<SelectItem value='none'>
{t('pleaseSelect')}
</SelectItem>
{pagesProjects.map((project) => (
<SelectItem
key={project.id}
@@ -454,9 +458,7 @@ export function ProxySection({
<FormControl>
<Input placeholder='origin.example.internal' {...field} />
</FormControl>
<FormDescription>
{t('originHostHint')}
</FormDescription>
<FormDescription>{t('originHostHint')}</FormDescription>
<FormMessage />
</FormItem>
)}
@@ -153,7 +153,9 @@ export function RouteHeader({ route }: RouteHeaderProps) {
<AlertDialogDescription>{t('publishDesc')}</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel disabled={publishing}>{tc('cancel')}</AlertDialogCancel>
<AlertDialogCancel disabled={publishing}>
{tc('cancel')}
</AlertDialogCancel>
<Button onClick={() => void handlePublish()} disabled={publishing}>
{publishing ? (
<Loader2 className='size-4 animate-spin' />