Update Hospital portal

This commit is contained in:
ivan-sim
2024-03-04 09:54:07 +07:00
parent 3bae411dc6
commit 39ccf2a0b5
5 changed files with 55 additions and 25 deletions

View File

@@ -239,7 +239,7 @@ export default function TableList() {
};
// handle start date
const [startDateValue, setStartDateValue] = useState('');
const [startDateValue, setStartDateValue] = useState(null);
const handleStartDateChanges = async (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
@@ -263,7 +263,7 @@ export default function TableList() {
};
// handle end date
const [endDateValue, setEndDateValue] = useState('');
const [endDateValue, setEndDateValue] = useState(null);
const handleEndDateChanges = async (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
@@ -494,8 +494,8 @@ export default function TableList() {
searchs={searchs}
filterStatus={filterStatus}
selected={selected}
// filterStartDate={filterStartDate}
// filterEndDate={filterEndDate}
//filterStartDate={filterStartDate}
//filterEndDate={filterEndDate}
/>
<MuiDialog
title={{name: nameMember}}