diff --git a/web/src/pages/Booking.tsx b/web/src/pages/Booking.tsx index 436b64c..6f3015d 100644 --- a/web/src/pages/Booking.tsx +++ b/web/src/pages/Booking.tsx @@ -272,7 +272,7 @@ export default function Booking() {

3. Escolha a Data

-
+
@@ -281,14 +281,20 @@ export default function Booking() { { - setDate(e.target.value); - if (e.target.value) setStep(4); - }} + onChange={(e) => setDate(e.target.value)} min={new Date().toISOString().split('T')[0]} className="absolute inset-0 w-full h-full opacity-0 cursor-pointer m-0 p-0" />
+ + {date && ( + + )}
)}