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

useState is getting null in useBkash hook next.js #26

Open
mtushar53 opened this issue Sep 1, 2022 · 5 comments
Open

useState is getting null in useBkash hook next.js #26

mtushar53 opened this issue Sep 1, 2022 · 5 comments

Comments

@mtushar53
Copy link

When trying to integrate bKash in next.js site, it is showing error in useBkash hook that useState is getting null.

@TanvirMahin24
Copy link

Facing the same issue with React.js. :(

@shahriar-shojib
Copy link
Owner

please provide a repo where the issue can be reproduced.

@Prantho-das
Copy link

When trying to integrate bKash in next.js site, it is showing error in useBkash hook that useState is getting null.

bro keep it in cookie and then i just solve like it

@mhasan320
Copy link

Facing same issue. Anyone helps me to solve this problem????
TypeError: Cannot read properties of null (reading 'useState')

Screenshot 2023-06-19 at 1 13 06 PM

@mtushar53
Copy link
Author

Hello @mhasan320,
I tried to fix this issue but failed. Finally, I have implemented bkash payment gateway using bkash script file. You can try adding the bkash script file to your project manually.

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

No branches or pull requests

5 participants