feat(SW-341): add hotels listing sidepeeks

This commit is contained in:
Arvid Norlin
2024-09-11 12:27:54 +02:00
parent dd4d6b46b1
commit 724f429696
13 changed files with 365 additions and 64 deletions

View File

@@ -82,6 +82,11 @@ export default function Link({
// track navigation nor start a router transition.
return
}
if (href.startsWith("tel:") || href.startsWith("mailto:")) {
// If href contains tel or mailto protocols we don't want to
// track navigation nor start a router transition.
return
}
e.preventDefault()
trackPageViewStart()
startTransition(() => {