const TwitchEmbed = ({ link }: { link: string }) => { const channel = link.split("/").slice(-1); const args = `?channel=${channel}&parent=${window.location.hostname}&muted=true`; return ; }; export default TwitchEmbed;