mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Merge master
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user