From 6d6d27bcc9010c53c820257872729ff541e0d8b0 Mon Sep 17 00:00:00 2001
From: hamed <15238-genius.ha@users.noreply.drupalcode.org>
Date: Tue, 18 Nov 2025 16:03:46 +0330
Subject: [PATCH] refactor: pass doctor, selectedSlot, and selectedDate props
to SubmitData and Detail components
---
components/appointment/Container.js | 3 +++
components/appointment/detail/index.js | 13 ++++++++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/components/appointment/Container.js b/components/appointment/Container.js
index 294e745..bfa0845 100644
--- a/components/appointment/Container.js
+++ b/components/appointment/Container.js
@@ -67,6 +67,9 @@ function Container({
prevData={prevData}
isForAnother={isForAnother}
setIsForAnother={setIsForAnother}
+ doctor={doctor}
+ selectedSlot={selectedSlot}
+ selectedDate={selectedDate}
/>,