Skip to content

Fix incomplete Usage example: add return button to SendTransaction component#198

Open
Meesut0 wants to merge 1 commit intoAbstract-Foundation:mainfrom
Meesut0:helloworld
Open

Fix incomplete Usage example: add return button to SendTransaction component#198
Meesut0 wants to merge 1 commit intoAbstract-Foundation:mainfrom
Meesut0:helloworld

Conversation

@Meesut0
Copy link

@Meesut0 Meesut0 commented Feb 20, 2026

Fix incomplete Usage example: add return button to SendTransaction component

Adds missing return with a button to make the SendTransaction example self-contained and consistent with other documentation examples (e.g. this example)

@cursor
Copy link

cursor bot commented Feb 20, 2026

PR Summary

Low Risk
Documentation-only change that adjusts a code sample’s JSX output with no runtime or API behavior impact.

Overview
Fixes the sendTransaction docs usage snippet by adding a missing return that renders a clickable <button> to trigger sendTransaction, making the example self-contained and consistent with other examples.

Written by Cursor Bugbot for commit 3e08dd6. This will update automatically on new commits. Configure here.

Meesut0 added a commit to Meesut0/abstract-docs that referenced this pull request Mar 4, 2026
Fixed the `SignTransaction` example in
`abstract-global-wallet/agw-client/actions/signTransaction.mdx`.

The component previously declared a React function but did not return any JSX, making the example incomplete and not directly usable as a copy-paste snippet.

This change adds a simple `<button>` element that calls `signTransaction`, making the example consistent with the `SendTransaction` example and other examples mentioned in PR: Abstract-Foundation#198.
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.

1 participant