ADMIN get all hotel, add hotel for user

This commit is contained in:
2026-01-27 04:45:51 +01:00
parent a3025261db
commit 7a88a7e04e
3 changed files with 166 additions and 71 deletions

View File

@@ -20,6 +20,8 @@ export default function RoomWidget({ roomlist }) {
function RoomCard({ number, status ,id}) {
//FIXME: this shouldn't use hotel context, instead : set the state once on load
const { updateRoomStatus } = useHotel();
const [editing, setEdtiting] = useState(false);
const [value, SetValue] = useState(status);