feat(SW-392): Added book a table link click
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user