From e0b406cda5d1f992ab2e028a70e80dd51ad6429c Mon Sep 17 00:00:00 2001 From: Aditya Shah Date: Sat, 24 Jan 2026 11:30:48 +0530 Subject: [PATCH] fixes the prettier syntax --- .../BookAppointment/BookingSummary.jsx | 8 ++- client/src/components/quickmed/Navbar.jsx | 64 +++++++++---------- client/src/pages/quicklab/LabDetails.jsx | 6 +- client/src/pages/quicklab/NearbyLabs.jsx | 15 ++--- 4 files changed, 47 insertions(+), 46 deletions(-) diff --git a/client/src/components/Patient/BookAppointment/BookingSummary.jsx b/client/src/components/Patient/BookAppointment/BookingSummary.jsx index 694cecb..c71a65e 100644 --- a/client/src/components/Patient/BookAppointment/BookingSummary.jsx +++ b/client/src/components/Patient/BookAppointment/BookingSummary.jsx @@ -75,12 +75,16 @@ const BookingSummary = ({
- QuickClinic Commission + + QuickClinic Commission + 1%
Our platform fee - ₹{Math.round(consultationFee * 0.01)} + + ₹{Math.round(consultationFee * 0.01)} +
diff --git a/client/src/components/quickmed/Navbar.jsx b/client/src/components/quickmed/Navbar.jsx index fd7b0ea..06c433d 100644 --- a/client/src/components/quickmed/Navbar.jsx +++ b/client/src/components/quickmed/Navbar.jsx @@ -123,38 +123,38 @@ const Navbar = () => { {/* Desktop Navigation */}
{/* Explore Dropdown (patients & public) */} - -
- - {isExploreOpen && ( -
- - -
- )} -
- + +
+ + {isExploreOpen && ( +
+ + +
+ )} +
+
diff --git a/client/src/pages/quicklab/LabDetails.jsx b/client/src/pages/quicklab/LabDetails.jsx index 823457b..5bbf22f 100644 --- a/client/src/pages/quicklab/LabDetails.jsx +++ b/client/src/pages/quicklab/LabDetails.jsx @@ -468,7 +468,7 @@ export default function LabDetails() { Total ₹{calculateTotal()} - +
QuickClinic Commission @@ -476,7 +476,9 @@ export default function LabDetails() {
Our platform fee - ₹{Math.round(calculateTotal() * 0.01)} + + ₹{Math.round(calculateTotal() * 0.01)} +
diff --git a/client/src/pages/quicklab/NearbyLabs.jsx b/client/src/pages/quicklab/NearbyLabs.jsx index 979492b..3a74b2e 100644 --- a/client/src/pages/quicklab/NearbyLabs.jsx +++ b/client/src/pages/quicklab/NearbyLabs.jsx @@ -153,12 +153,11 @@ export default function NearbyLabs() { ) : labs.length === 0 ? (
-

No labs found in {detectedCity}

+

+ No labs found in {detectedCity} +

Try searching in a different location

-
@@ -179,11 +178,7 @@ export default function NearbyLabs() { > {/* Lab Logo */} {lab.logo ? ( - {lab.name} + {lab.name} ) : (