This commit is contained in:
Martin McKeaveney 2024-09-02 08:58:28 +01:00
parent d5f58fc6c8
commit 9924ad20e0
2 changed files with 76 additions and 77 deletions

View File

@ -214,7 +214,8 @@
Something went wrong rendering your app
</Heading>
<Body size="S">
Get in touch with support if this issue persists
Get in touch with support if this issue
persists
</Body>
</Layout>
</div>

View File

@ -6,7 +6,7 @@
function extractDomainFromUrl(url) {
const { hostname } = new URL(url)
const parts = hostname.split('.');
const parts = hostname.split(".")
const tld = parts.slice(-2).join(".")
return tld
}
@ -36,10 +36,8 @@
return () => window.removeEventListener("message", handleMessage)
})
</script>
<Provider key="embed" {data}>
<slot />
</Provider>