Update App.js

This commit is contained in:
marcosrdz 2020-12-27 12:06:24 -05:00 committed by Overtorment
parent 5a0121c2a5
commit 0121b8ed82

2
App.js
View file

@ -68,7 +68,6 @@ const App = () => {
const payload = Object.assign({}, notification, notification.data); const payload = Object.assign({}, notification, notification.data);
if (notification.data && notification.data.data) Object.assign(payload, notification.data.data); if (notification.data && notification.data.data) Object.assign(payload, notification.data.data);
delete payload.data; delete payload.data;
if (payload) {
let wallet; let wallet;
switch (+payload.type) { switch (+payload.type) {
case 2: case 2:
@ -84,7 +83,6 @@ const App = () => {
const walletID = wallet.getID(); const walletID = wallet.getID();
fetchAndSaveWalletTransactions(walletID); fetchAndSaveWalletTransactions(walletID);
} }
}
}; };
const openSettings = () => { const openSettings = () => {