Skip to content

Commit

Permalink
fix possible undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Sep 30, 2024
1 parent 815f868 commit 0a8b8d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const TypedSignV1Info: React.FC = () => {
return null;
}

const toolTipMessage = isSnapId(currentConfirmation.msgParams.origin)
const toolTipMessage = isSnapId(currentConfirmation.msgParams?.origin)
? t('requestfromInfoSnap')
: t('requestFromInfo');

Expand Down

0 comments on commit 0a8b8d5

Please sign in to comment.