Skip to content

refactor: split large referralStore into focused slices #483

Description

@nanaf6203-bit

Summary

src/store/referralStore.ts mixes referral links, stats, leaderboards, notifications, errors.

Affected area

src/store/referralStore.ts

Expected behaviour

Split into useReferralLinks, useReferralStats, useLeaderboard, useReferralNotifications.

Acceptance criteria

  • Backwards-compatible re-exports until consumers migrate.

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programpriority/p2P2 — medium priorityrefactorCode health / refactor (no behaviour change)type-safetyTypeScript typing or any-cast removal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions