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

Improve Honeypot instructions in README #276

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

dvnrsn
Copy link
Contributor

@dvnrsn dvnrsn commented Nov 16, 2023

This proposal fixes a few grammar issues and expands docs to help developer get a working honeypot

= added 2 commits November 15, 2023 17:15
Include honeypotInputProps acquisition and introduciton to react context
@@ -1903,7 +1903,7 @@ export default function Component() {
// more code here
return (
// some JSX
<HoneypotProvider>
<HoneypotProvider {...honeypotInputProps}>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Took me way too long to realize I was missing this and crucially the honeypot works halfway without it! It'd be wise to help the developer be completely explicit about the context here.

@sergiodxa sergiodxa added the documentation Improvements or additions to documentation label Nov 16, 2023
@sergiodxa sergiodxa merged commit 2624107 into sergiodxa:main Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants