-
Notifications
You must be signed in to change notification settings - Fork 619
adds missing async to connect docs #5864
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
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Merge activity
|
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5864 +/- ##
=======================================
Coverage 55.18% 55.18%
=======================================
Files 1123 1123
Lines 59611 59611
Branches 5030 5031 +1
=======================================
Hits 32895 32895
Misses 25996 25996
Partials 720 720
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on updating the `handleLogin` and `handlePostLogin` functions to use an `async` callback within the `connect` function, enhancing the handling of asynchronous operations in the in-app wallet connection process.
### Detailed summary
- Changed `connect(() => {...})` to `connect(async () => {...})` in multiple files.
- Updated `handlePostLogin` in `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx`.
- Updated `handleLogin` in various files:
- `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx`
- `apps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdx`
- `apps/portal/src/app/react/v5/in-app-wallet/get-started/page.mdx`
- Other instances in similar files.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
ae0eca9 to
84d3dc4
Compare
PR-Codex overview
This PR focuses on updating the
connectfunction calls in various files to use an asynchronous arrow function instead of a regular function. This change enhances the handling of asynchronous operations during wallet connection.Detailed summary
await connect(() => {toawait connect(async () => {in multiple files:apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdxapps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdxapps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdxapps/portal/src/app/react/v5/in-app-wallet/get-started/page.mdxapps/portal/src/app/react/v5/in-app-wallet/guides/build-your-own-ui/page.mdx