From 1628d4901c8f31a7f2b3b85455227c6cc7dd0f90 Mon Sep 17 00:00:00 2001 From: Rafael Date: Mon, 31 Jan 2022 15:17:50 -0300 Subject: [PATCH] Revert encode share embed url --- ui/component/embedTextArea/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/embedTextArea/view.jsx b/ui/component/embedTextArea/view.jsx index 71e9d902f..c10b4ce6a 100644 --- a/ui/component/embedTextArea/view.jsx +++ b/ui/component/embedTextArea/view.jsx @@ -3,7 +3,7 @@ import * as ICONS from 'constants/icons'; import { FormField } from 'component/common/form'; import Button from 'component/button'; import React, { useRef } from 'react'; -import { generateEmbedUrlEncoded, generateEmbedIframeData } from 'util/web'; +import { generateEmbedUrl, generateEmbedIframeData } from 'util/web'; type Props = { copyable: string, @@ -21,7 +21,7 @@ export default function EmbedTextArea(props: Props) { const { claim_id: claimId, name } = claim; const input = useRef(); - const streamUrl = generateEmbedUrlEncoded(name, claimId, includeStartTime && startTime, referralCode); + const streamUrl = generateEmbedUrl(name, claimId, includeStartTime && startTime, referralCode); const { html: embedText } = generateEmbedIframeData(streamUrl); function copyToClipboard() {