fix: remove unnecessary 'use client' directives to reduce client bundle

- Remove 'use client' from connector-document-mapping.ts (only exports constants and pure functions)
- Remove 'use client' from sidebar-separator.tsx (purely presentational component)
- Remove 'use client' and Framer Motion from logs/loading.tsx, replace with Tailwind animations
- Reduces client bundle size by moving server-compatible code to server components
This commit is contained in:
SohamBhattacharjee2003 2026-04-08 04:39:39 +05:30
parent baada1457a
commit 4066cbc6f0
3 changed files with 14 additions and 54 deletions

View file

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