Update CreateOrUpdateRoom.tsx
This commit is contained in:
@@ -48,10 +48,12 @@ export default function CreateOrUpdateRoomModal(props: IModalProps) {
|
||||
// update state when user does ctrl + v
|
||||
useEffect(() => {
|
||||
// todo: check if link is valid google meet link? again?
|
||||
console.log(pastedLink);
|
||||
setRoomLink(pastedLink);
|
||||
}, [pastedLink]);
|
||||
|
||||
const handleCloseModal = () => {
|
||||
resetForm();
|
||||
handleModalType(ShowModalType.na);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user