feat(SnackbarProvider): interface update | wrap around phone

This commit is contained in:
Christopher committed 2021-02-09 19:19:36 +01:00
1 parent babce2f568
commit c38fe9ef66
3 files changed
+39 -15

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { useContext } from 'react';
import { SnackbarContext } from '../components/SnackbarProvider';
interface ISnackBar {
addAlert: (message: string, severity: string) => void;
addAlert: (message: string, type: string) => void;
}
export const useSnackbar = (): ISnackBar => useContext(SnackbarContext);