Replies: 2 comments
-
managed to solve it by changing the last line to: return createPortal(React.createElement('div', null, children), modalElem) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had the same issue and solved the type issues using: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I had an error recently that I have no clue about how to solve. I'm not working with bigints at all. It's in my Portal component. I didn't have this error before updating to nextjs
14.2.2
.How to solve this?
Additional information
Diagnostics:
Type 'bigint' is not assignable to type 'ReactNode'. [2345]
Example
https://github.com/waikoo/thrifty
Beta Was this translation helpful? Give feedback.
All reactions