From 4376cdefd1d4190c1fd957260406134e72526c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Deir=C3=B3=20Rodrigues?= Date: Sat, 8 Nov 2025 18:36:17 -0300 Subject: [PATCH] =?UTF-8?q?Calend=C3=A1rio=20p=C3=A1gina=20de=20marcar=20c?= =?UTF-8?q?onsultas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/patient/schedule/page.tsx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/app/patient/schedule/page.tsx b/app/patient/schedule/page.tsx index e8423a7..f0fc0cc 100644 --- a/app/patient/schedule/page.tsx +++ b/app/patient/schedule/page.tsx @@ -10,21 +10,10 @@ import { format, addDays } from "date-fns"; import { useState, useEffect, useCallback, useRef } from "react"; import { Calendar, Clock, User, StickyNote } from "lucide-react"; import PatientLayout from "@/components/patient-layout"; -import { - Card, - CardContent, - CardHeader, - CardTitle, -} from "@/components/ui/card"; +import {Card,CardContent,CardHeader,CardTitle,} from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Label } from "@/components/ui/label"; -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/components/ui/select"; +import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,} from "@/components/ui/select"; import { Textarea } from "@/components/ui/textarea"; import { toast } from "@/hooks/use-toast"; @@ -109,7 +98,6 @@ export default function ScheduleAppointment() { } }, []); - // --- Compute availability counts for next 90 days (efficient) --- const computeAvailabilityCountsPreview = async (doctorId: string, dispList: Disponibilidade[]) => { try { const today = new Date();