Skip to content

Commit a07d4d0

Browse files
committed
fix: format
1 parent 799f61e commit a07d4d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

site/src/components/Badge/Badge.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Copied from shadc/ui on 11/13/2024
33
* @see {@link https://ui.shadcn.com/docs/components/badge}
44
*/
5-
import { type VariantProps, cva } from "class-variance-authority";
6-
import { forwardRef } from "react";
75
import { Slot } from "@radix-ui/react-slot";
6+
import { type VariantProps, cva } from "class-variance-authority";
7+
import { forwardRef } from "react";
88
import { cn } from "utils/cn";
99

1010
export const badgeVariants = cva(
@@ -34,12 +34,12 @@ export const badgeVariants = cva(
3434
export interface BadgeProps
3535
extends React.HTMLAttributes<HTMLDivElement>,
3636
VariantProps<typeof badgeVariants> {
37-
asChild?: boolean;
38-
}
37+
asChild?: boolean;
38+
}
3939

4040
export const Badge = forwardRef<HTMLDivElement, BadgeProps>(
4141
({ className, variant, size, asChild = false, ...props }, ref) => {
42-
const Comp = asChild ? Slot : "div"
42+
const Comp = asChild ? Slot : "div";
4343

4444
return (
4545
<Comp

0 commit comments

Comments
 (0)