ADMIN get all hotel, add hotel for user
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user