Last active
February 6, 2023 01:43
-
-
Save MilanKaur-01/cdee390648eec653cd611b918f099bdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
useEffect(() => { | |
const init = async () => { | |
setMessage('Getting Teams meeting link...'); | |
//Call Azure Function to get the meeting link | |
res = await fetch(process.env.REACT_APP_TEAMS_MEETING_FUNCTION as string); | |
let link = await res.text(); | |
setTeamsMeetingLink(link); | |
console.log('Teams meeting link', link); | |
} | |
init(); | |
}, []); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment