feat(SW-392): Added book a table link click

This commit is contained in:
Erik Tiekstra
2025-01-09 13:08:25 +01:00
parent a68f3cc8e6
commit 14e8e2254c
7 changed files with 73 additions and 19 deletions

View File

@@ -23,6 +23,7 @@ export default function Link({
variant,
weight,
trackingId,
trackingParams,
onClick,
/**
* Decides if the link should include the current search params in the URL
@@ -60,9 +61,9 @@ export default function Link({
const trackClickById = useCallback(() => {
if (trackingId) {
trackClick(trackingId)
trackClick(trackingId, trackingParams)
}
}, [trackingId])
}, [trackingId, trackingParams])
const linkProps = {
href: fullUrl,