diff --git a/ui/hooks/snaps/useSignatureInsights.js b/ui/hooks/snaps/useSignatureInsights.js index ae5679466be3..c0e297fcb216 100644 --- a/ui/hooks/snaps/useSignatureInsights.js +++ b/ui/hooks/snaps/useSignatureInsights.js @@ -108,7 +108,7 @@ export function useSignatureInsights({ txData }) { } } } - if (Object.keys(txData).length > 0) { + if (Object.keys(txData).length > 0 && txData.msgParams !== undefined) { fetchInsight(); } return () => {