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

⚡️ Simplify login logic and reduce await post login #1917

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

williamchong
Copy link
Member

No description provided.

williamchong added a commit that referenced this pull request Oct 25, 2024
@williamchong williamchong marked this pull request as ready for review October 25, 2024 14:00
nwingt added a commit that referenced this pull request Oct 25, 2024
nwingt added a commit that referenced this pull request Oct 28, 2024
src/mixins/wallet-login.js Outdated Show resolved Hide resolved
@@ -869,15 +850,17 @@ const actions = {
},
async walletFetchSessionUserData(
{ dispatch },
{ shouldSkipUserInfo = false } = {}
{ awaitForWalletEvents = false } = {}
Copy link
Member

Choose a reason for hiding this comment

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

where does this use?

Copy link
Member Author

Choose a reason for hiding this comment

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

Is it not used yet, but setting this flag would mimic the original behaviour, which might be useful else where

Co-authored-by: Ng Wing Tat, David <[email protected]>
@williamchong williamchong requested a review from nwingt October 29, 2024 10:42
@williamchong williamchong merged commit 3270c61 into likecoin:develop Oct 29, 2024
1 check passed
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