Merge remote-tracking branch 'origin/dev' into US-31-Eliminarreservadeinquilino

This commit is contained in:
Mariela 2022-08-28 10:07:55 -06:00
commit ce0f2046b3
1 changed files with 3 additions and 9 deletions

View File

@ -48,6 +48,7 @@ const Reservations = () => {
const [saveButtonTitle, setSaveButtonTitle] = useState("Registrar") const [saveButtonTitle, setSaveButtonTitle] = useState("Registrar")
const [reservationDialog, setReservationDialog] = useState(false); const [reservationDialog, setReservationDialog] = useState(false);
const [dateMax, setDateMax] = useState(); const [dateMax, setDateMax] = useState();
const [tenants, setTenants] = useState([]);
async function tenantsList(id) { async function tenantsList(id) {
@ -323,7 +324,6 @@ const Reservations = () => {
disabled={!selectedReservations || !selectedReservations.length} disabled={!selectedReservations || !selectedReservations.length}
/> />
</div> </div>
</React.Fragment> </React.Fragment>
); );
}; };
@ -571,7 +571,6 @@ const Reservations = () => {
return today.toJSON().split('T')[0]; return today.toJSON().split('T')[0];
} }
return ( return (
<div className="grid"> <div className="grid">
<div className="col-12"> <div className="col-12">
@ -855,13 +854,8 @@ const Reservations = () => {
</Dialog> </Dialog>
</div> </div>
</div> </div>
</div> </div>
); );
} }
export default React.memo(Reservations); export default React.memo(Reservations);