Add an accommodations reservations module #188

Merged
pierre merged 81 commits from accomodation_module into master 2024-06-22 21:30:26 +00:00
Showing only changes of commit b72374481e - Show all commits

View File

@ -222,7 +222,6 @@ function BoolIcon(p: { checked?: boolean }): React.ReactElement {
function AccommodationsCalURLsCard(): React.ReactElement {
const key = React.useRef(0);
const snackbar = useSnackbar();
const confirm = useConfirm();
const loading = useLoadingMessage();
@ -262,7 +261,7 @@ function AccommodationsCalURLsCard(): React.ReactElement {
await AccommodationsCalendarURLApi.Delete(c);
snackbar("Le calendrier a été supprimé avec succès !");
setSuccess("Le calendrier a été supprimé avec succès !");
reload();
} catch (e) {
console.error("Failed to delete accommodation!", e);