Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Always send ref_ params (#3582)

authored by

dan and committed by
GitHub
a66c9d0b 2974b407

+4 -4
+4 -4
src/lib/statsig/statsig.tsx
··· 15 15 import {LogEvents} from './events' 16 16 import {Gate} from './gates' 17 17 18 - let refSrc: string | undefined 19 - let refUrl: string | undefined 18 + let refSrc: string 19 + let refUrl: string 20 20 if (isWeb && typeof window !== 'undefined') { 21 21 const params = new URLSearchParams(window.location.search) 22 - refSrc = params.get('ref_src') ?? undefined 23 - refUrl = params.get('ref_url') ?? undefined 22 + refSrc = params.get('ref_src') ?? '' 23 + refUrl = decodeURIComponent(params.get('ref_url') ?? '') 24 24 } 25 25 26 26 export type {LogEvents}