chore: update tslog from 3.2.1 to 4.9.2 (#11717)

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Benny Jooandzomars authored and GitHub committed 2023-10-17 19:00:48 +00:00
1 parent 9e927af813
commit 63416d4f33
61 files changed
+441 -105

No files matched your search

+6 -8
View File
@@ -47,19 +47,17 @@ export const tabs = [
className="text-default bg-default selection:bg-subtle h-[calc(100%-50px)] font-mono"
style={{ resize: "none", overflow: "auto" }}
readOnly
value={
`<!-- Cal ${embedType} embed code begins -->\n` +
(embedType === "inline"
value={`<!-- Cal ${embedType} embed code begins -->\n${
embedType === "inline"
? `<div style="width:${getDimension(previewState.inline.width)};height:${getDimension(
previewState.inline.height
)};overflow:scroll" id="my-cal-inline"></div>\n`
: "") +
`<script type="text/javascript">
: ""
}<script type="text/javascript">
${embedSnippetString}
${getEmbedTypeSpecificString({ embedFramework: "HTML", embedType, calLink, previewState, embedCalOrigin })}
</script>
<!-- Cal ${embedType} embed code ends -->`
}
<!-- Cal ${embedType} embed code ends -->`}
/>
<p className="text-subtle hidden text-sm">{t("need_help_embedding")}</p>
</>
@@ -118,7 +116,7 @@ export const tabs = [
{ calLink: string; embedType: EmbedType; previewState: PreviewState }
>(function Preview({ calLink, embedType }, ref) {
const bookerUrl = useBookerUrl();
const iframeSrc = `${EMBED_PREVIEW_HTML_URL}?embedType=${embedType}&calLink=${calLink}&embedLibUrl=${embedLibUrl}&bookerUrl=${bookerUrl}`
const iframeSrc = `${EMBED_PREVIEW_HTML_URL}?embedType=${embedType}&calLink=${calLink}&embedLibUrl=${embedLibUrl}&bookerUrl=${bookerUrl}`;
if (ref instanceof Function || !ref) {
return null;
}