Atihar Hossen Mahir
Results
2
comments of
Atihar Hossen Mahir
For Nextjs import with next dynamic. It worked for me import dynamic from 'next/dynamic' const CreatableSelect = dynamic(() => import('react-select/creatable'), { loading: () => Loading..., })
I have solved this problem by this `const options = { api: "/api/chat?id=hello", }; const { messages, input, handleInputChange, handleSubmit } = useChat(options);`