Skip to content

Guard referral storage access#126

Open
absalonCRC wants to merge 1 commit into
profullstack:masterfrom
absalonCRC:fix-referral-storage-guard
Open

Guard referral storage access#126
absalonCRC wants to merge 1 commit into
profullstack:masterfrom
absalonCRC:fix-referral-storage-guard

Conversation

@absalonCRC
Copy link
Copy Markdown

@absalonCRC absalonCRC commented May 21, 2026

Summary

  • guard referral localStorage reads, writes, and cleanup so blocked storage does not break invite signup flows
  • add regression coverage for normal referral storage, unavailable storage, and write-rejecting storage

Fixes #125

Validation

  • pnpm test:run src/components/referral/ReferralTracker.test.tsx
  • pnpm type-check
  • pnpm exec eslint src/components/referral/ReferralTracker.tsx src/components/referral/ReferralTracker.test.tsx
  • git diff --check

Bounty / payment

Submitted for the active uGig affiliate-program testing task. SOL receive address: 27sdMYXofqoM9qR13bZhccRNYeEgYn5EoHXTSJn4QWKP.

Payment fallback: PayPal cultofrozen@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: referral invite flow crashes when localStorage is unavailable

1 participant