diff --git a/src/components/referral/ReferralUrlChanger.tsx b/src/components/referral/ReferralUrlChanger.tsx index f02c16e74..568ba5506 100644 --- a/src/components/referral/ReferralUrlChanger.tsx +++ b/src/components/referral/ReferralUrlChanger.tsx @@ -17,6 +17,7 @@ export function ReferralUrlChanger() { useEffect(() => { if (!referralId) return const current = getCurrentSearchParams() + current.set('ref', referralId) const newPath = `${getCurrentUrlWithoutQuery()}?${current.toString()}` router.replace(newPath, undefined, { shallow: true })