refactor: remove utm_source from share simulation link
parent
17b747443c
commit
38217757d5
|
@ -103,9 +103,7 @@ export default function FeedbackForm({
|
|||
additionalData?: string
|
||||
}) {
|
||||
const url = useUrl()
|
||||
const urlParams = Array.from(new URL(url).searchParams.entries()).filter(
|
||||
([key]) => key !== 'utm_source'
|
||||
)
|
||||
const urlParams = Array.from(new URL(url).searchParams.entries())
|
||||
const [share, setShare] = useState(false)
|
||||
const [requestStatusCode, setRequestStatusCode] = useState<null | number>(
|
||||
null
|
||||
|
|
|
@ -37,8 +37,6 @@ export function useUrl() {
|
|||
? import.meta.env.VITE_FR_BASE_URL
|
||||
: import.meta.env.VITE_EN_BASE_URL
|
||||
|
||||
searchParams.set('utm_source', 'sharing')
|
||||
|
||||
return siteUrl + path + '?' + searchParams.toString()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue