Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move some of the rewards logic to sagas #688

Merged
merged 7 commits into from
Jun 23, 2023
Merged

Conversation

ratik21
Copy link
Collaborator

@ratik21 ratik21 commented Jun 20, 2023

No description provided.

@ratik21 ratik21 requested a review from a team June 20, 2023 23:08
localStorage.setItem(lastViewedRewardsKey, zeroPreviousDay);
yield put(setShowNewRewards(false));
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will add tests for these if the logic looks good

src/store/login/saga.ts Outdated Show resolved Hide resolved
src/store/login/saga.ts Outdated Show resolved Hide resolved
src/store/rewards/saga.ts Show resolved Hide resolved
src/store/rewards/saga.ts Show resolved Hide resolved
@ratik21 ratik21 force-pushed the move-rewards-logic-to-saga branch from a76fd2e to e59eba9 Compare June 22, 2023 23:37
@ratik21 ratik21 merged commit c62246d into main Jun 23, 2023
@ratik21 ratik21 deleted the move-rewards-logic-to-saga branch June 23, 2023 00:07
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.

2 participants