fix(phone/snackbar): Fixed animations & simplified logic (#146)

This commit is contained in:
Taso authored and GitHub committed 2021-03-06 17:32:01 -05:00
1 parent e56ae415dc
commit 6e72e2c50e
5 files changed
+27 -24

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ export type AlertType = 'success' | 'error' | 'info';
interface ISnackBar {
addAlert: ({ message, type }: IAlert) => void;
alert: IAlert | null;
isOpen: boolean;
handleClose: () => void;
}
export const useSnackbar = (): ISnackBar => useContext(SnackbarContext);