feat(TimeDateSelector): better date selector implemented and naming scheme cleaned up to make more sense

This commit is contained in:
2025-02-22 12:04:38 -07:00
parent 583be5dcd2
commit 7999abaf25
8 changed files with 7482 additions and 9320 deletions

View File

@ -1,5 +1,5 @@
import { useEffect, useState, useRef } from "react";
import TimeSlotSelector from "./TimeSlotSelector"; // Import the TimeSlotSelector component
import TimeDateSelector from "./TimeDateSelector"; // Import the TimeSlotSelector component
/**
* @param {null} null - Takes in nothing
@ -74,13 +74,14 @@ const InterviewForm = () => {
/>
{/* Time Slot Selector */}
<TimeSlotSelector
<TimeDateSelector
onTimeSlotSelect={(timeSlot) => setSelectedTimeSlot(timeSlot)}
/>
<button type="submit" disabled={isButtonDisabled}>
Submit
</button>
</form>
{/* Success Dialog */}
<dialog ref={dialogRef}>
{" "}