diff --git a/components/AppsComponent/BrandData/page.jsx b/components/AppsComponent/BrandData/page.jsx index a0ea791..96ca68b 100644 --- a/components/AppsComponent/BrandData/page.jsx +++ b/components/AppsComponent/BrandData/page.jsx @@ -12,7 +12,6 @@ import AppContext from "@ctx/AppContext"; import CardNormal from "@comp/Cards/CardNormal/page"; const BrandData = ({ params, data }) => { - console.log("data brand", data); const CTX = useContext(AppContext); const hairCosmeticData = CTX.state.hairCosmeticData; diff --git a/components/AppsComponent/CategoriesData/page.jsx b/components/AppsComponent/CategoriesData/page.jsx index cab50b6..2525827 100644 --- a/components/AppsComponent/CategoriesData/page.jsx +++ b/components/AppsComponent/CategoriesData/page.jsx @@ -16,8 +16,6 @@ export default function CategoriesData({ params, products }) { const CTX = useContext(AppContext); const searchParams = useSearchParams(); - console.log("products :products", products); - useEffect(() => { if ( Number(searchParams.get("page")) === 0 || diff --git a/components/AppsComponent/CheckoutData/page.jsx b/components/AppsComponent/CheckoutData/page.jsx index 29d7d23..d7f86dc 100644 --- a/components/AppsComponent/CheckoutData/page.jsx +++ b/components/AppsComponent/CheckoutData/page.jsx @@ -138,8 +138,6 @@ const CheckoutData = () => { setPermissionGoPay(false); }, []); - console.log("checkOutData", checkOutData); - return ( <>
diff --git a/components/AppsComponent/ProductData/page.jsx b/components/AppsComponent/ProductData/page.jsx index 662246c..7d0be64 100644 --- a/components/AppsComponent/ProductData/page.jsx +++ b/components/AppsComponent/ProductData/page.jsx @@ -17,8 +17,6 @@ import BottomSheetComment from "plugins/bottomSheet/BottomSheetComment"; import AppContext from "@ctx/AppContext"; const ProductData = ({ params, data }) => { - console.log("data", data); - const CTX = useContext(AppContext); const [product, setProduct] = useState([]); const [review, setReview] = useState([]); @@ -60,7 +58,6 @@ const ProductData = ({ params, data }) => { setReview(data); } } catch (error) { - console.error("Error fetching reviews:", error); setHasMore(false); // Stop further fetches on error } }; @@ -149,8 +146,6 @@ const ProductData = ({ params, data }) => { displaySpecifications(product?.specifications); }, [product]); - console.log("review", data); - return ( <> diff --git a/components/AppsComponent/RootData/page.jsx b/components/AppsComponent/RootData/page.jsx index a71dbe6..f7b3208 100644 --- a/components/AppsComponent/RootData/page.jsx +++ b/components/AppsComponent/RootData/page.jsx @@ -204,7 +204,6 @@ const RootData = ({ children }) => { `${process.env.NEXT_PUBLIC_API_URL}/product?${cleanQueryString}` ); - console.log("rsssssssssssssssssssssssssssssssssssssssss", res); // Check if the response status is 404 if (res.status === 404) { // Navigate to the custom 404 page diff --git a/components/Blog/BlogData/page.jsx b/components/Blog/BlogData/page.jsx index c06a890..e0612d3 100644 --- a/components/Blog/BlogData/page.jsx +++ b/components/Blog/BlogData/page.jsx @@ -47,7 +47,6 @@ const BlogData = ({ params, data }) => { setReview(data); } } catch (error) { - console.error("Error fetching reviews:", error); setHasMore(false); // Stop further fetches on error } }; diff --git a/components/Blog/BlogsData/page.jsx b/components/Blog/BlogsData/page.jsx index f3261be..9b22ae7 100644 --- a/components/Blog/BlogsData/page.jsx +++ b/components/Blog/BlogsData/page.jsx @@ -11,7 +11,6 @@ import Image from "next/image"; import Link from "next/link"; const BlogsData = ({ dataCaetgories, data }) => { - console.log("data", data); const pathname = usePathname(); const searchParams = useSearchParams(); const router = useRouter(); @@ -29,8 +28,6 @@ const BlogsData = ({ dataCaetgories, data }) => { const lates4Blog = data.blogs?.slice(0, 4); - console.log(lates4Blog); - return (
diff --git a/components/Navbar/page.jsx b/components/Navbar/page.jsx index 6ab8128..4bcfa41 100644 --- a/components/Navbar/page.jsx +++ b/components/Navbar/page.jsx @@ -98,8 +98,6 @@ const Navbar = ({ theme }) => { setSearchValue(event.target.value); }; - console.log(dataNav); - return ( <> {isDesktop && ( diff --git a/src/app/blogs/[...id]/page.jsx b/src/app/blogs/[...id]/page.jsx index 00b27cf..966fb97 100644 --- a/src/app/blogs/[...id]/page.jsx +++ b/src/app/blogs/[...id]/page.jsx @@ -12,8 +12,6 @@ async function getData(id) { const page = async ({ params }) => { const data = await getData(params.id[0]); - console.log(data); - // const structuredData = { // "@context": "https://schema.org", // "@type": "BlogPosting", diff --git a/src/app/blogs/page.jsx b/src/app/blogs/page.jsx index 8afeb6a..0824a0e 100644 --- a/src/app/blogs/page.jsx +++ b/src/app/blogs/page.jsx @@ -21,8 +21,6 @@ async function getData(sParams) { const post = await res.json(); // - console.log("post", post); - return post; } diff --git a/src/app/brands/[...id]/page.jsx b/src/app/brands/[...id]/page.jsx index 82194f1..7ce296e 100644 --- a/src/app/brands/[...id]/page.jsx +++ b/src/app/brands/[...id]/page.jsx @@ -7,7 +7,6 @@ async function getData(id) { cache: "no-cache", }); const post = await res.json(); - console.log("hi", post); // console.log("object11", post); // // Check if the response status is 404 diff --git a/src/app/categories/[...id]/page.jsx b/src/app/categories/[...id]/page.jsx index beff219..bee8833 100644 --- a/src/app/categories/[...id]/page.jsx +++ b/src/app/categories/[...id]/page.jsx @@ -89,7 +89,6 @@ const fetchProducts = async (categoryId, searchParams = {}) => { if (!res.ok) return []; const products = await res.json(); - console.log("Fetched products:", products); return products; } catch (error) { console.error("Error fetching products:", error); diff --git a/src/app/products/[...id]/page.jsx b/src/app/products/[...id]/page.jsx index 43ca171..fe29347 100644 --- a/src/app/products/[...id]/page.jsx +++ b/src/app/products/[...id]/page.jsx @@ -6,7 +6,6 @@ async function getData(id) { cache: "no-cache", }); const post = await res.json(); - console.log("hi", post); // console.log("object11", post); // // Check if the response status is 404