Updated createAndJoinCall with dependencies matching other demos

This commit is contained in:
Kimberlee Johnson 2021-09-23 15:11:16 -07:00
parent bbd8202513
commit 44cddc8c59
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export const Call = ({ room, setRoom, callFrame, setCallFrame, expiry }) => {
};
newCallFrame.on('left-meeting', leaveCall);
});
}, [room, setCallFrame]);
/**
* Initiate Daily iframe creation on component render if it doesn't already exist