perf: remove unnecessary "use client" from pricing-section.tsx

This component uses zero client-side features (no hooks, no event
handlers, no browser APIs). It only defines a static data array and
renders a <Pricing> child component which is already a Client
Component itself.

Removing the directive lets Next.js render this wrapper and its
static data on the server, reducing the client JS bundle.

Fixes #1193
This commit is contained in:
barry3406 2026-04-09 05:09:26 -07:00
parent 7c61668823
commit 15743a482b

View file

@ -1,5 +1,3 @@
"use client";
import { Pricing } from "@/components/pricing";
const demoPlans = [