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
@@ -75,9 +75,7 @@ export function CleanupDialog({
disabled={loading}
{...form.register('keepCount', { valueAsNumber: true })}
/>
<p className='text-xs text-muted-foreground'>
{t('keepHint')}
</p>
<p className='text-xs text-muted-foreground'>{t('keepHint')}</p>
{form.formState.errors.keepCount ? (
<p className='text-xs text-destructive'>
{form.formState.errors.keepCount.message}
@@ -86,7 +84,9 @@ export function CleanupDialog({
</div>
<AlertDialogFooter>
<AlertDialogCancel disabled={loading}>{tc('cancel')}</AlertDialogCancel>
<AlertDialogCancel disabled={loading}>
{tc('cancel')}
</AlertDialogCancel>
<Button
variant='destructive'
onClick={() => void handleConfirm()}
@@ -54,8 +54,7 @@ export function VersionSnapshotSheet({
.catch((err) => {
if (!cancelled) {
toast.error(t('snapshotLoadFailed'), {
description:
err instanceof Error ? err.message : t('unknownError'),
description: err instanceof Error ? err.message : t('unknownError'),
});
}
})