diff --git a/ui/app/hooks/useRetryTransaction.js b/ui/app/hooks/useRetryTransaction.js index 1656c8dda944..9b0a9e5f5340 100644 --- a/ui/app/hooks/useRetryTransaction.js +++ b/ui/app/hooks/useRetryTransaction.js @@ -19,7 +19,8 @@ import { useMetricEvent } from './useMetricEvent' */ export function useRetryTransaction (transactionGroup) { const { primaryTransaction, initialTransaction } = transactionGroup - const gasPrice = primaryTransaction.txParams.gasPrice + // Signature requests do not have a txParams, but this hook is called indiscriminately + const gasPrice = primaryTransaction.txParams?.gasPrice const trackMetricsEvent = useMetricEvent(({ eventOpts: { category: 'Navigation',