Improve reward issues on sign-in #3809

Merged
neb-b merged 3 commits from non-validated-signin into master 2020-03-13 23:25:05 +01:00
neb-b commented 2020-03-09 18:15:32 +01:00 (Migrated from github.com)

Changes

  • If a user clicks "skip" on the rewards validation screen, don't show it again on future sign-ins
  • If a user has verified their identity but still not rewards eligible, don't show the rewards validation screen on future sign-ins.

There was an issue with usePersistedState where when a value was set that caused the component to be un-rendered, it wouldn't actually write the value to local storage. Now it's being written right when the value is set.

#### Changes - If a user clicks "skip" on the rewards validation screen, don't show it again on future sign-ins - If a user has verified their identity but still not rewards eligible, don't show the rewards validation screen on future sign-ins. There was an issue with `usePersistedState` where when a value was set that caused the component to be un-rendered, it wouldn't actually write the value to local storage. Now it's being written right when the value is set.
kauffj (Migrated from github.com) reviewed 2020-03-09 18:15:32 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#3809
No description provided.