Skip to content

Commit 970c22e

Browse files
committed
fix switch import
1 parent a2a4341 commit 970c22e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

packages/eclipse/src/components/switch.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
"use client"
1+
"use client";
22

3-
import { Switch as SwitchPrimitive } from "@base-ui/react/switch"
3+
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
44

5-
import { cn } from ..@/lib/utils"
5+
import { cn } from "../lib/cn";
66

77
function Switch({
88
className,
99
size = "default",
1010
...props
1111
}: SwitchPrimitive.Root.Props & {
12-
size?: "sm" | "default"
12+
size?: "sm" | "default";
1313
}) {
1414
return (
1515
<SwitchPrimitive.Root
@@ -28,7 +28,7 @@ function Switch({
2828
)}
2929
/>
3030
</SwitchPrimitive.Root>
31-
)
31+
);
3232
}
3333

34-
export { Switch }
34+
export { Switch };

0 commit comments

Comments
 (0)