Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/ui/Alert.test.tsx,app/src/components/ui/Alert.tsx

Steven Enamakel67daa4f52d03
diff --git a/app/src/components/ui/Alert.test.tsx b/app/src/components/ui/Alert.test.tsx
index 7d2a7e8016..24d6e0fec8 100644
--- a/app/src/components/ui/Alert.test.tsx
+++ b/app/src/components/ui/Alert.test.tsx
@@ -1,7 +1,7 @@
import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';
-import { Alert, AlertDescription, AlertTitle, alertVariants, type AlertVariant } from './Alert';
+import { Alert, AlertDescription, AlertTitle, type AlertVariant, alertVariants } from './Alert';
const RAW_PALETTE = /\b(?:bg|text|border|ring)-(?:neutral|stone|slate|canvas|white|black)\b/;
diff --git a/app/src/components/ui/Alert.tsx b/app/src/components/ui/Alert.tsx
index 72e15f0d3f..c5f13d2f8f 100644
--- a/app/src/components/ui/Alert.tsx
+++ b/app/src/components/ui/Alert.tsx
@@ -1,5 +1,5 @@
import { cva, type VariantProps } from 'class-variance-authority';
-import { createContext, useContext, type AriaRole, type ComponentPropsWithRef } from 'react';
+import { type AriaRole, type ComponentPropsWithRef, createContext, useContext } from 'react';
import { cn } from '../../lib/cn';
@@ -50,10 +50,7 @@ export const alertVariants = cva('relative flex w-full gap-3 rounded-xl border p
// string above so an un-densified caller's class attribute is unchanged
// to the byte. `compact` overrides it, and `cn()`'s tailwind-merge drops
// the four base utilities it conflicts with.
- density: {
- default: '',
- compact: 'rounded-lg px-3 py-2 text-xs',
- },
+ density: { default: '', compact: 'rounded-lg px-3 py-2 text-xs' },
},
defaultVariants: { variant: 'default', density: 'default' },
});