Skip to content
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

Add Call To Action Button on Transfer Wizard Doc #3115

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

hcho112
Copy link
Contributor

@hcho112 hcho112 commented Jan 9, 2024

This PR contains minor change on transfer wizard doc to include call to action button at the bottom of the doc, allowing user to initiate the transfer wizard from doc page:

image

This button will only be visible if there is at least one account already signed in.

near/wallet-experience#15

Copy link
Contributor

@andy-haynes andy-haynes left a comment

Choose a reason for hiding this comment

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

Just one thing otherwise LGTM

render={() => (
<TransferWizardWrapper
account={account}
onTransfer={this.handleTransferClick}
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's please invoke this in an arrow function to avoid potential binding issues, e.g.:

onTransfer={() => this.handleTransferClick()}

@hcho112 hcho112 merged commit 803f797 into master Jan 10, 2024
5 checks passed
@hcho112 hcho112 deleted the transfer-wizard-doc-cta branch January 10, 2024 22:29
@hcho112 hcho112 mentioned this pull request Jan 23, 2024
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