Custom hook to access the alert context. This provides a simple way to trigger alerts from any component wrapped within an AlertProvider.
AlertProvider
The alert context value, containing the showAlert function.
showAlert
If used outside of an AlertProvider.
Custom hook to access the alert context. This provides a simple way to trigger alerts from any component wrapped within an
AlertProvider.