PK
µ3ÐZÝ©_ _ index.tsx
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
const root = ReactDOM.createRoot(rootElement);
root.render(
Your appointment has been successfully booked. Confirmation details have been sent to your email and WhatsApp (simulated).
Patient: {bookingDetails.patientName}
Email: {bookingDetails.patientEmail}
Phone: {bookingDetails.patientPhone}
Doctor: {bookingDetails.doctorName}
Date: {new Date(bookingDetails.date).toLocaleDateString(undefined, { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' })}
Time: {bookingDetails.time}
Reason: {bookingDetails.reason}
Fetching tip...
{error}
) : ("{tip}"
)}Health tips are AI-generated and for informational purposes only. Consult a medical professional for advice.
{error}
}{error}
}