What's not working?
The login page you get when you generate auth pages during dbAuth setup include a toast that says "Welcome back!" after a successful login.
The problem is that the <Toaster> component that's supposed to host that toast is mounted on the same page, and when logging in you're redirected to another page, so <Toaster> unmounts and the toast never shows up.
When generating the pages the <Toaster> has to be placed in either a layout that wraps everything, or simply just in App.tsx.
What's not working?
The login page you get when you generate auth pages during dbAuth setup include a toast that says "Welcome back!" after a successful login.
The problem is that the
<Toaster>component that's supposed to host that toast is mounted on the same page, and when logging in you're redirected to another page, so<Toaster>unmounts and the toast never shows up.When generating the pages the
<Toaster>has to be placed in either a layout that wraps everything, or simply just inApp.tsx.