From f17f801e53c78a13a7645ec4aa212293941a8e27 Mon Sep 17 00:00:00 2001 From: NingetsuSama Date: Sat, 18 May 2024 16:40:25 +0200 Subject: [PATCH] correction images prod --- src/app/page.js | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/app/page.js b/src/app/page.js index aff5547..5d4419a 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -1,6 +1,6 @@ "use client"; -import { useEffect, useState } from "react"; +import { useState } from "react"; function getCancers() { @@ -34,20 +34,22 @@ function Listing({ cancers, active, setActive }) { function Carousel({ currentCancer }) { + const isProd = process.env.NODE_ENV === 'production'; + return (
- +
- +
- +
- +