rdv: plages de disponibilités: various UX/UI improvements

This commit is contained in:
nobohan
2021-09-06 14:50:48 +02:00
parent 0a274eb2a4
commit 82e76d7d5a
3 changed files with 77 additions and 37 deletions

View File

@@ -90,22 +90,6 @@ const deleteCalendarRange = (id) => {
});
};
// const deleteCalendarRange = (id) => {
// const url = `/api/1.0/calendar/calendar-range.json`;
// return fetch(url, {
// method: 'DELETE',
// headers: {
// 'Content-Type': 'application/json;charset=utf-8'
// },
// body: JSON.stringify({
// id: id
// })
// }).then(response => {
// if (response.ok) { return response.json(); }
// throw Error('Error with request resource response');
// });
// };
export {
fetchCalendarRanges,
fetchCalendar,