TypeError: (0 , ai_react__WEBPACK_IMPORTED_MODULE_3__.useChat) is not a function #649
-
Is there anyone got this bug ? I check the module and it is installed, everything seem normal.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
make sure you are using 'use client' at the top of your component. That solve my error |
Beta Was this translation helpful? Give feedback.
-
Encountered the same problem. 'use client' worked out just fine too. |
Beta Was this translation helpful? Give feedback.
make sure you are using 'use client' at the top of your component. That solve my error