add check for description in notification

This commit is contained in:
Tyler Shipe 2021-12-17 14:52:07 -05:00
parent d9f26f58ab
commit 6ea9a2b37e
1 changed files with 1 additions and 1 deletions

View File

@ -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'
}