Open DiegoMcDipster opened 6 months ago
Hi, Great video! Thanks for creating it.
I notice that around 2:30 you add react-hot-toast and the handling of it. But you didn't add to your code.
So, the toast doesn't pop-up.
I added it to my ChatInput, like so:
return ( <div {...props} className={cn("border-t border-zinc-300", className)}> <Toaster /> <div className="relative mt-4 flex-1 overflow-hidden rounded-lg border-none outline-none"> <TextareaAutosize
and it works great.
Maybe you can add it to the codebase for future developers.
Hi, Great video! Thanks for creating it.
I notice that around 2:30 you add react-hot-toast and the handling of it. But you didn't add to your code.
So, the toast doesn't pop-up.
I added it to my ChatInput, like so:
and it works great.
Maybe you can add it to the codebase for future developers.