albertshih3 / How-Are-You

A mental health focused web app designed by a college student for college students.
https://how-are-you-5e726.web.app
0 stars 0 forks source link

Remove Excess Toast Code #8

Closed albertshih3 closed 1 month ago

albertshih3 commented 1 month ago

Toasts were previously stored in sessionStorage so they would persist across page redirects (i.e. when a user logs in, a toast is saved in session storage and called again when the user is redirected to the main page). However, I learned that I had just put the toaster in the wrong <div> component meaning that we no longer need the extra code. #3 #5