lint
This commit is contained in:
parent
d5f58fc6c8
commit
9924ad20e0
|
@ -214,7 +214,8 @@
|
||||||
Something went wrong rendering your app
|
Something went wrong rendering your app
|
||||||
</Heading>
|
</Heading>
|
||||||
<Body size="S">
|
<Body size="S">
|
||||||
Get in touch with support if this issue persists
|
Get in touch with support if this issue
|
||||||
|
persists
|
||||||
</Body>
|
</Body>
|
||||||
</Layout>
|
</Layout>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
function extractDomainFromUrl(url) {
|
function extractDomainFromUrl(url) {
|
||||||
const { hostname } = new URL(url)
|
const { hostname } = new URL(url)
|
||||||
const parts = hostname.split('.');
|
const parts = hostname.split(".")
|
||||||
const tld = parts.slice(-2).join(".")
|
const tld = parts.slice(-2).join(".")
|
||||||
return tld
|
return tld
|
||||||
}
|
}
|
||||||
|
@ -36,10 +36,8 @@
|
||||||
|
|
||||||
return () => window.removeEventListener("message", handleMessage)
|
return () => window.removeEventListener("message", handleMessage)
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<Provider key="embed" {data}>
|
<Provider key="embed" {data}>
|
||||||
<slot />
|
<slot />
|
||||||
</Provider>
|
</Provider>
|
Loading…
Reference in New Issue