From f78246a4189cdc05a16cc919c76d54dfb47d2a55 Mon Sep 17 00:00:00 2001 From: stazrouti Date: Thu, 19 Sep 2024 22:40:31 +0100 Subject: [PATCH] hide unnecessary fields --- src/components/BookCar.jsx | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/components/BookCar.jsx b/src/components/BookCar.jsx index 9d98eaf..225144c 100644 --- a/src/components/BookCar.jsx +++ b/src/components/BookCar.jsx @@ -161,7 +161,6 @@ function BookCar() { setDropTime(e.target.value); }; - // based on value name show car img /* let imgUrl; switch (carImg) { @@ -424,8 +423,20 @@ function BookCar() { >

This field is required.

- + + +

This field is required.

+
+ + {/* @@ -436,11 +447,11 @@ function BookCar() { placeholder="18" >

This field is required.

-
+ */}
- + {/* @@ -452,7 +463,7 @@ function BookCar() { >

This field is required.

- +*/} -
+ -
+{/*
-
+
*/}