Skip to content

Commit

Permalink
chore(affiliate): change refCode to r (#2593)
Browse files Browse the repository at this point in the history
* Affiliate for testing

* feat: change refCode to r

* chore: back to prod
  • Loading branch information
viet-nv authored Mar 3, 2025
1 parent 6f9c947 commit 5635061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useAffiliate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AFFILIATE_SERVICE_URL } from 'constants/env'

export const useAffiliate = () => {
const [searchParams, setSearchParams] = useSearchParams()
const refCode = searchParams.get('refCode')
const refCode = searchParams.get('r')

useEffect(() => {
if (!refCode) return
Expand Down

0 comments on commit 5635061

Please sign in to comment.