fix: remove unnecessary "use client" from pure presentational components

These components only render JSX with props and don't use hooks,
event handlers, or browser APIs.
This commit is contained in:
likiosliu 2026-03-26 11:50:39 +08:00
parent 0583ad5705
commit 3d762ccf62
4 changed files with 0 additions and 8 deletions

View file

@ -1,5 +1,3 @@
"use client";
import type { Separator } from "fumadocs-core/page-tree";
export function SidebarSeparator({ item }: { item: Separator }) {

View file

@ -1,5 +1,3 @@
"use client";
import Image from "next/image";
import Link from "next/link";
import { cn } from "@/lib/utils";

View file

@ -1,5 +1,3 @@
"use client";
import { BellOff } from "lucide-react";
export function AnnouncementsEmptyState() {

View file

@ -1,5 +1,3 @@
"use client";
import { Link2Off } from "lucide-react";
interface PublicChatSnapshotsEmptyStateProps {