Update CreateOrUpdateRoom.tsx

This commit is contained in:
Arjun Patel
2022-01-17 17:30:26 -08:00
parent a3005315ff
commit 8a8a7eca44
+2
View File
@@ -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);
};