From 19aa17eea69bb5c6d3324651a19aed45bfeb0dd8 Mon Sep 17 00:00:00 2001 From: "nabijonovdavronbek619@gmail.com" Date: Mon, 26 Jan 2026 19:16:24 +0500 Subject: [PATCH] products page error fixed:added use client word for swiper --- app/products/page.tsx | 2 +- components/pages/products/slug/slider.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/products/page.tsx b/app/products/page.tsx index 4c5e657..c9fea2c 100644 --- a/app/products/page.tsx +++ b/app/products/page.tsx @@ -3,7 +3,7 @@ import React from "react"; export default function Page() { return ( -
+
diff --git a/components/pages/products/slug/slider.tsx b/components/pages/products/slug/slider.tsx index 70579ad..4cfb19b 100644 --- a/components/pages/products/slug/slider.tsx +++ b/components/pages/products/slug/slider.tsx @@ -1,3 +1,4 @@ +"use client"; import { Swiper, SwiperSlide } from "swiper/react"; import { Navigation } from "swiper/modules"; import "swiper/css";