Skip to content

Commit e8bcfd0

Browse files
committed
0.0.333 - fix: remove unneeded use client
1 parent d6baec2 commit e8bcfd0

16 files changed

+1
-31
lines changed

avatar.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as AvatarPrimitive from "@radix-ui/react-avatar";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

checkbox.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
42
import { CheckIcon } from "lucide-react";
53
import type { ComponentProps } from "react";

dialog.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as DialogPrimitive from "@radix-ui/react-dialog";
42
import { XIcon } from "lucide-react";
53
import type { ComponentProps, HTMLAttributes } from "react";

dropdown-menu.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
42
import { CheckIcon, ChevronRightIcon, DotIcon } from "lucide-react";
53
import type { ComponentProps, HTMLAttributes } from "react";

label.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as LabelPrimitive from "@radix-ui/react-label";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@risc0/ui",
3-
"version": "0.0.332",
3+
"version": "0.0.333",
44
"private": false,
55
"sideEffects": false,
66
"type": "module",

popover.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as PopoverPrimitive from "@radix-ui/react-popover";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

progress.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as ProgressPrimitive from "@radix-ui/react-progress";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

radio-group.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

select.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as SelectPrimitive from "@radix-ui/react-select";
42
import { cva } from "class-variance-authority";
53
import { CheckIcon, ChevronDownIcon, ChevronUpIcon, ChevronsUpDownIcon } from "lucide-react";

separator.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as SeparatorPrimitive from "@radix-ui/react-separator";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

sheet.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as SheetPrimitive from "@radix-ui/react-dialog";
42
import { cva } from "class-variance-authority";
53
import { XIcon } from "lucide-react";

switch.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as SwitchPrimitives from "@radix-ui/react-switch";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

tabs.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as TabsPrimitive from "@radix-ui/react-tabs";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

toggle.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as TogglePrimitive from "@radix-ui/react-toggle";
42
import { type VariantProps, cva } from "class-variance-authority";
53
import type { ComponentProps } from "react";

tooltip.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
42
import type { ComponentProps } from "react";
53
import { cn } from "./cn";

0 commit comments

Comments
 (0)