This adds some simple error handling to claim referrals. Each referral is stored in local storage and cleared upon successful acknowledgment from the server. If the call to the server fails for whatever reason, the referral will be sent again on the next claim.
Checklist:
[x] My commit message follows the Conventional Commits specification
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my code
[x] My changes generate no new warnings
[x] My PR is rebased off the most recent develop branch
Description
This adds some simple error handling to claim referrals. Each referral is stored in local storage and cleared upon successful acknowledgment from the server. If the call to the server fails for whatever reason, the referral will be sent again on the next claim.
Checklist:
develop
branchdevelop
branchAlert Reviewers
@tnrdd @0xtekgrinder