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

Fix Readme React hook example code typo (prop name) #387

Merged

Conversation

andy-leezard
Copy link
Contributor

@andy-leezard andy-leezard commented Aug 31, 2023

Hello,

While using this lib in react project, I copy&pasted the sample code from section Simple Example with React hooks in ReadMe.md.

I looked up the exported types and spotted a missing mismatching prop name. (defaultSetCookies is not a property of CookiesProvider, did you mean defaultSetOptions ?)
Fixing it would help a lot of people avoid the type error when following the documentation.

Thank you for the project and taking time to review my pull request.

@eXon
Copy link
Collaborator

eXon commented Sep 6, 2023

You're right, thank you for the fix!

@eXon eXon force-pushed the Fix-Readme-React-hook-example-code-typo branch from 463eee0 to 3de01a6 Compare September 6, 2023 18:28
@eXon eXon force-pushed the Fix-Readme-React-hook-example-code-typo branch from 3de01a6 to 724222f Compare September 6, 2023 19:08
@eXon eXon enabled auto-merge (squash) September 6, 2023 19:09
@eXon eXon merged commit 53e2435 into bendotcodes:main Sep 6, 2023
1 check passed
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