Merged in fix/sentry-error (pull request #1224)
fix: validate function before executing * fix: validate function before executing
This commit is contained in:
@@ -66,7 +66,9 @@ export default async function RootLayout({
|
|||||||
<CookieBotConsent />
|
<CookieBotConsent />
|
||||||
</ServerIntlProvider>
|
</ServerIntlProvider>
|
||||||
<Script id="page-tracking">{`
|
<Script id="page-tracking">{`
|
||||||
typeof _satellite !== "undefined" && _satellite.pageBottom();
|
if (typeof _satellite !== "undefined" && typeof _satellite.pageBottom === "function") {
|
||||||
|
_satellite.pageBottom();
|
||||||
|
}
|
||||||
`}</Script>
|
`}</Script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user