mirror of
https://github.com/suitenumerique/docs.git
synced 2026-04-25 17:15:01 +02:00
🔥(frontend) remove UTM parameters
We decided to remove the UTM parameters. This change simplifies the link and makes it cleaner for users to share.
This commit is contained in:
@@ -11,7 +11,7 @@ export const useCopyDocLink = (docId: Doc['id']) => {
|
|||||||
|
|
||||||
return useCallback(() => {
|
return useCallback(() => {
|
||||||
copyToClipboard(
|
copyToClipboard(
|
||||||
`${window.location.origin}/docs/${docId}/?utm_source=docssharelink&utm_campaign=${docId}`,
|
`${window.location.origin}/docs/${docId}/`,
|
||||||
t('Link Copied !'),
|
t('Link Copied !'),
|
||||||
t('Failed to copy link'),
|
t('Failed to copy link'),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user