mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-07-08 12:17:13 -06:00
feat(TimeDateSelector): better date selector implemented and naming scheme cleaned up to make more sense
This commit is contained in:
@ -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}>
|
||||
{" "}
|
||||
|
Reference in New Issue
Block a user