add check for description in notification
This commit is contained in:
parent
d9f26f58ab
commit
6ea9a2b37e
|
@ -64,7 +64,7 @@ const Notification = ({ notification }) => {
|
|||
const { type, title, description, txid, show, id } = notification
|
||||
|
||||
let parsedTitle
|
||||
if (description.includes('Timed out awaiting')) {
|
||||
if (description && description.includes('Timed out awaiting')) {
|
||||
parsedTitle = 'Unable to confirm transaction'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue