-
Notifications
You must be signed in to change notification settings - Fork 618
[Dashboard] Remove useLoggedInUser and fix login loop #5695
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
[Dashboard] Remove useLoggedInUser and fix login loop #5695
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5695 +/- ##
=======================================
Coverage 51.54% 51.54%
=======================================
Files 1094 1094
Lines 57592 57592
Branches 4755 4755
=======================================
Hits 29686 29686
Misses 27188 27188
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
jnsdls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initial comments
apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx
Show resolved
Hide resolved
jnsdls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ship and monitor
Merge activity
|
41a3191 to
4573e2c
Compare

Fixes: DASH-577
PR-Codex overview
This PR focuses on enhancing the user authentication and account handling within the application. It introduces the
twAccountprop for various components and replaces the usage ofuseLoggedInUserwithuseActiveAccountfor better account management.Detailed summary
useLoggedInUserand replaced it withuseActiveAccountin multiple files.twAccountprop in various components to pass account information.CustomConnectWalletcomponent to includeisLoggedInprop.authTokenprop in various components to manage authentication tokens.