Merge master

This commit is contained in:
J Francisco Rader committed 2021-01-23 18:44:00 -05:00
1 parent d0de0e4bac
commit 2b96d93565
7 files changed
+12 -28

No files matched your search

@@ -26,7 +26,7 @@ export const BankAlert = () => {
setMessage(t('APPS_BANK_ALERT_TRANSFER_FAILURE'));
setSeverity('error');
}
}, [bankAlert]);
}, [bankAlert, t]);
return (
<Snackbar
@@ -15,10 +15,10 @@ export const BankNotification = () => {
const { config } = usePhone();
useEffect(() => {
if (notification) {
if (notification && notification.id) {
setVisible(true);
}
}, [notification?.id]);
}, [notification]);
if (!config?.bank.showNotifications || !notification) return null;