mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
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:
parent
7c61668823
commit
15743a482b
1 changed files with 0 additions and 2 deletions
|
|
@ -1,5 +1,3 @@
|
|||
"use client";
|
||||
|
||||
import { Pricing } from "@/components/pricing";
|
||||
|
||||
const demoPlans = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue