Mejora 1: Implementado sistema de notificaciones global con Snackbar y modal de confirmación.
This commit is contained in:
		
							
								
								
									
										8
									
								
								frontend/src/hooks/useNotification.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								frontend/src/hooks/useNotification.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| // frontend/src/hooks/useNotification.ts | ||||
|  | ||||
| import { useContext } from 'react'; | ||||
| import { NotificationContext } from '../contexts/NotificationContext'; | ||||
|  | ||||
| export const useNotification = () => { | ||||
|   return useContext(NotificationContext); | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user