diff --git a/app/components/Blockchain/Transaction/Transaction.jsx b/app/components/Blockchain/Transaction/Transaction.jsx index 6635779ce..d79a548a8 100644 --- a/app/components/Blockchain/Transaction/Transaction.jsx +++ b/app/components/Blockchain/Transaction/Transaction.jsx @@ -230,3 +230,10 @@ export default function Transaction(props: Props) { ) } + +// add a default prop of an empty object to prevent errors when tx is undefined +Transaction.defaultProps = { + tx: { + type: null, + }, +}