FOSSologyUI
FOSSologyUI copied to clipboard
fix(snackbar): fixed the removal of snackbar
Description
Closes #154
Changes
Added setTimeout of 2 seconds for all the alerts.
How to test
Visit all the routes.
Snackbar component needs some refactoring (need to convert it to a hook) We should keep this PR on hold till then.
Isn't 2 second a very small interval for someone not expecting to see a snackbar? What about increasing it to 8 or 10 seconds as user can manually close it anyways?
Isn't 2 second a very small interval for someone not expecting to see a snackbar? What about increasing it to 8 or 10 seconds as user can manually close it anyways?
Yeah sure