Toastr not working in SSR (NextJs)
cziem opened this issue · comments
Current Behaviour
With a next.js app, import the toastr styles from 'toastr/build/toastr.css'
and configure the toastr.options
object, the displayed toastr loses its styles and shows at the bottom of the page.
Expected Behaviour
The toastr should display properly on the screen, corresponding to the options specified.
I think the css stylesheet isn't injected into the code base.