useState is getting null in useBkash hook next.js
Opened this issue · 5 comments
mtushar53 commented
When trying to integrate bKash in next.js site, it is showing error in useBkash hook that useState is getting null.
TanvirMahin24 commented
Facing the same issue with React.js. :(
shahriar-shojib commented
please provide a repo where the issue can be reproduced.
Prantho-das commented
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 commented
mtushar53 commented
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.