()
| 66 | }; |
| 67 | |
| 68 | export const useSnackbar = () => { |
| 69 | const context = useContext(SnackbarContext); |
| 70 | if (!context) { |
| 71 | throw new Error('useSnackbar must be used within SnackbarProvider'); |
| 72 | } |
| 73 | return context; |
| 74 | }; |
no outgoing calls
no test coverage detected