-
Notifications
You must be signed in to change notification settings - Fork 406
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
adds missing async to connect docs #5789
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 #5789 +/- ##
=======================================
Coverage 53.02% 53.02%
=======================================
Files 1101 1101
Lines 59080 59080
Branches 4810 4809 -1
=======================================
Hits 31328 31328
Misses 27034 27034
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
You must have a Graphite account in order to use the merge queue. Create an account and try again using this link
You must have a Graphite account in order to use the merge queue. Create an account and try again using this link
|
## Problem solved Adds missing `async` to connect callbacks in documentation <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `connect` function calls in multiple files to use an asynchronous arrow function instead of a regular function. This change enhances the handling of asynchronous operations within the `connect` function. ### Detailed summary - Updated `connect` function calls in `page.mdx` files to use `async () =>` instead of `() =>`. - Changes made in: - `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx` - `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` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
b4996be
to
15ee155
Compare
## Problem solved Adds missing `async` to connect callbacks in documentation <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on modifying the `connect` function calls in various files to use an asynchronous callback, enhancing the handling of asynchronous operations during user authentication processes. ### Detailed summary - Changed `await connect(() => {` to `await connect(async () => {` in multiple files: - `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx` - `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` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
15ee155
to
7b5dfc3
Compare
## Problem solved Adds missing `async` to connect callbacks in documentation <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `connect` function calls in several files to use an asynchronous callback, enhancing the handling of post-login connections. ### Detailed summary - Changed `await connect(() => {` to `await connect(async () => {` in multiple instances across different files: - `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx` - `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx` - `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` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
7b5dfc3
to
eb8e70c
Compare
Problem solved
Adds missing
async
to connect callbacks in documentationPR-Codex overview
This PR focuses on updating the
connect
function calls to use an asynchronous callback pattern in varioushandleLogin
functions across different files, enhancing the handling of asynchronous operations.Detailed summary
await connect(() => {...})
toawait connect(async () => {...})
in multiplehandleLogin
functions:apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx
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