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 { FormField } from 'component/common/form';
|
||||||
import Button from 'component/button';
|
import Button from 'component/button';
|
||||||
import React, { useRef } from 'react';
|
import React, { useRef } from 'react';
|
||||||
import { generateEmbedUrlEncoded, generateEmbedIframeData } from 'util/web';
|
import { generateEmbedUrl, generateEmbedIframeData } from 'util/web';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
copyable: string,
|
copyable: string,
|
||||||
|
@ -21,7 +21,7 @@ export default function EmbedTextArea(props: Props) {
|
||||||
const { claim_id: claimId, name } = claim;
|
const { claim_id: claimId, name } = claim;
|
||||||
const input = useRef();
|
const input = useRef();
|
||||||
|
|
||||||
const streamUrl = generateEmbedUrlEncoded(name, claimId, includeStartTime && startTime, referralCode);
|
const streamUrl = generateEmbedUrl(name, claimId, includeStartTime && startTime, referralCode);
|
||||||
const { html: embedText } = generateEmbedIframeData(streamUrl);
|
const { html: embedText } = generateEmbedIframeData(streamUrl);
|
||||||
|
|
||||||
function copyToClipboard() {
|
function copyToClipboard() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue