Skip to content

Conversation

jakehobbs
Copy link
Contributor

@jakehobbs jakehobbs commented Sep 16, 2025

Pull Request Checklist


PR-Codex overview

This PR primarily focuses on updating example code snippets in various hooks and documentation files for consistency and clarity. The changes involve modifying code block formatting and imports to enhance readability.

Detailed summary

  • Changed code block format from tsx to ts in various files.
  • Added import statements in example code for hooks like useSendCalls, usePrepareCalls, and others.
  • Updated usage examples to improve clarity and consistency across documentation files.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Sep 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
aa-sdk-ui-demo Ready Ready Preview Comment Sep 16, 2025 9:19pm

Copy link
Contributor

graphite-app bot commented Sep 16, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to 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.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes example imports and applies TypeScript two-slash (twoslash) annotations to code blocks across React hook documentation files. The changes ensure proper TypeScript type checking and code validation in the documentation examples.

Key changes:

  • Adds missing import statements to code examples that were previously omitted
  • Applies twoslash annotation to TypeScript/TSX code blocks for enhanced type checking
  • Corrects code block language specifications (tsx vs ts)

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 2 comments.

File Description
docs/pages/reference/account-kit/react/hooks/*.mdx Adds twoslash annotations and missing imports to documentation examples
account-kit/react/src/hooks/*.ts Updates JSDoc examples with twoslash annotations and missing imports in source code

Copy link

github-actions bot commented Sep 16, 2025

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Sep 16, 2025, 9:15 PM

@github-actions github-actions bot temporarily deployed to docs-preview September 16, 2025 18:05 Inactive
@jakehobbs jakehobbs enabled auto-merge (squash) September 16, 2025 18:08
@github-actions github-actions bot temporarily deployed to docs-preview September 16, 2025 18:08 Inactive
@github-actions github-actions bot temporarily deployed to docs-preview September 16, 2025 21:13 Inactive
@jakehobbs jakehobbs merged commit 3ca53da into main Sep 16, 2025
12 of 13 checks passed
@jakehobbs jakehobbs deleted the jake/add-imports-in-examples branch September 16, 2025 21:19
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