Update AGENTS.md. Start fixing old weird errors
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
import { AspectRatio as AspectRatioPrimitive } from 'radix-ui';
|
||||
|
||||
function AspectRatio({
|
||||
const AspectRatio = ({
|
||||
...props
|
||||
}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {
|
||||
return <AspectRatioPrimitive.Root data-slot='aspect-ratio' {...props} />;
|
||||
}
|
||||
}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) => (
|
||||
<AspectRatioPrimitive.Root data-slot='aspect-ratio' {...props} />
|
||||
);
|
||||
export { AspectRatio };
|
||||
|
||||
Reference in New Issue
Block a user