chore: Update translations
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Kieran 2024-01-20 00:00:44 +00:00
parent d1972542b7
commit 6a1a990e57
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,13 @@ const TwitchEmbed = ({ link }: { link: string }) => {
const channel = link.split("/").slice(-1);
const args = `?channel=${channel}&parent=${window.location.hostname}&muted=true`;
return <iframe src={`https://player.twitch.tv/${args}`} className="w-max" allowFullScreen={true} credentialless=""></iframe>;
return (
<iframe
src={`https://player.twitch.tv/${args}`}
className="w-max"
allowFullScreen={true}
credentialless=""></iframe>
);
};
export default TwitchEmbed;