How to fix jotai__WEBPACK_IMPORTED_MODULE_2__.useAtom) is not a function
when using jotai with next js
#2595
-
I took forever to find a solution to the problem so I will share the solution here. Add |
Beta Was this translation helpful? Give feedback.
Answered by
DavidJFelix
Jun 3, 2024
Replies: 1 comment
-
Thanks for sharing your solution. I'll look through docs and see if this can be surfaced more easily. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DavidJFelix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing your solution. I'll look through docs and see if this can be surfaced more easily.