Solutionunvalidated
Ensure the Sonner <Toaster> is rendered at a higher level (e.g., above children/layout so it mounts before any toast calls). If needed, dynamically load the component with SSR disabled (ssr:false) so the toast fires after the Toaster is present.
c7a8d550-5a15-4e19-8a2b-dcc0385c2826
Ensure the Sonner