change design and data list in doctor-item & handle component appointment in doctor-item & handle functionality date-picker & fix bug appointment page & add req get appointment list
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import DatePicker from "@/app/component/date/datePicker";
|
||||
import { request } from "@/services/response";
|
||||
import { useEffect } from "react";
|
||||
|
||||
function SelectDatePicker() {
|
||||
useEffect(() => {
|
||||
request
|
||||
.getAppointment(47, 1753859133)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
});
|
||||
|
||||
return <DatePicker />;
|
||||
}
|
||||
|
||||
export default SelectDatePicker;
|
||||
Reference in New Issue
Block a user