Revert encode share embed url
This commit is contained in:
parent
b30a8568e5
commit
1628d4901c
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue