Skip to content

Commit

Permalink
capture referral code on internal routing events too (#6950)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Dec 3, 2024
1 parent 1d2e740 commit d432d2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/app/src/components/home/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,10 @@
pageReplace(removeQueryStringParam("usergroup"));
}
if (client.captureReferralCode()) {
pageReplace(removeQueryStringParam("ref"));
}
if (modal?.kind === "claim_daily_chit") {
modal = { kind: "none" };
}
Expand Down

0 comments on commit d432d2e

Please sign in to comment.