Fix display of error message while loading tx by nonce
This commit is contained in:
parent
f9f7a569e2
commit
97f6ae89fe
|
@ -57,7 +57,11 @@ const AddressTransactionByNonce: React.FC<AddressTransactionByNonceProps> = ({
|
|||
const navigate = useNavigate();
|
||||
|
||||
// Loading...
|
||||
if (checksummedAddress === undefined || nonce === undefined) {
|
||||
if (
|
||||
checksummedAddress === undefined ||
|
||||
nonce === undefined ||
|
||||
txHash === undefined
|
||||
) {
|
||||
return <StandardFrame />;
|
||||
}
|
||||
|
||||
|
@ -83,7 +87,7 @@ const AddressTransactionByNonce: React.FC<AddressTransactionByNonceProps> = ({
|
|||
}
|
||||
|
||||
// Valid nonce, but no tx found
|
||||
if (!txHash) {
|
||||
if (txHash === null) {
|
||||
return (
|
||||
<StandardFrame>
|
||||
<AddressOrENSNameInvalidNonce
|
||||
|
|
Loading…
Reference in New Issue