Switch to using shadcn's Sonner for in-app toast notifications #9394
Labels
good first issue
Good for newcomers
needs-triage
question
Further information is requested
work-in-progress
Currently, notifications are dispatched via functions exported from Notifications.js.
Since we are slowly moving towards using shadcn's UI components, let's switch to using shadcn's sonner for notifications.
https://ui.shadcn.com/docs/components/sonner
Here's an example of the Toaster component added to the
App.tsx
file (to ensure colours are as expected).care_fe/src/App.tsx
Lines 38 to 45 in e48d37c
Here's the full attempt diff for reference: https://github.com/ohcnetwork/care_fe/pull/9350/files
Action Items
toast
of sonner instead of frompnotify
library.pnotify
and related packages.The text was updated successfully, but these errors were encountered: