Changeset 79a0317 for imaps-frontend/src/components/Modals/RoomModal
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/src/components/Modals/RoomModal/RoomModal.jsx
r0c6b92a r79a0317 7 7 import useModalState from "../Hooks/useModalState.jsx"; 8 8 import {useModalEvent} from "../Hooks/useModalEvent.jsx"; 9 import ModalUploadRoomImage from "../Components/ModalUploadRoomImage.jsx"; 9 10 10 11 export default function RoomModal({map,roomTypes}) { … … 20 21 setShapeInfo(shape.info); 21 22 setIsOpen(true); 23 event.detail.map.detachKeyPressEventListeners(); 22 24 23 25 },"openRoomModalEvent") … … 30 32 <ModalRoomTypes updateModalData={updateModalData} shapeInfo={shapeInfo} roomTypes={roomTypes}/> 31 33 <ModalDescriptionField shapeInfo={shapeInfo} updateModalData={updateModalData}/> 34 <ModalUploadRoomImage></ModalUploadRoomImage> 32 35 <ModalSaveButton saveDetails={saveDetails}/> 33 36 </Modal>
Note:
See TracChangeset
for help on using the changeset viewer.