ai-chatbot icon indicating copy to clipboard operation
ai-chatbot copied to clipboard

Migrate to sonner toasting library to match ui aesthetics

Open thatbeautifuldream opened this issue 6 months ago • 1 comments

Replace Toaster and pass configs

- import { Toaster } from 'react-hot-toast'
+ import { Toaster } from 'sonner'


-        <Toaster />
+        <Toaster position="top-center" />

Replace imports throughout project

- import { toast } from 'react-hot-toast'
+ import { toast } from 'sonner'

thatbeautifuldream avatar Dec 23 '23 05:12 thatbeautifuldream