diff --git a/src/transaction/decoder/AddressDecoder.tsx b/src/transaction/decoder/AddressDecoder.tsx index 45fb30c..a8b5edf 100644 --- a/src/transaction/decoder/AddressDecoder.tsx +++ b/src/transaction/decoder/AddressDecoder.tsx @@ -6,7 +6,7 @@ import { TransactionData } from "../../types"; import { ResolvedAddresses } from "../../api/address-resolver"; type AddressDecoderProps = { - r: any; + r: string; txData: TransactionData; resolvedAddresses?: ResolvedAddresses | undefined; }; @@ -17,17 +17,17 @@ const AddressDecoder: React.FC = ({ resolvedAddresses, }) => (
- + - +
); -export default React.memo(AddressDecoder); +export default AddressDecoder; diff --git a/src/transaction/decoder/DecodedParamRow.tsx b/src/transaction/decoder/DecodedParamRow.tsx index b2b0baf..9384ea1 100644 --- a/src/transaction/decoder/DecodedParamRow.tsx +++ b/src/transaction/decoder/DecodedParamRow.tsx @@ -76,7 +76,7 @@ const DecodedParamRow: React.FC = ({ ) : paramType.baseType === "address" ? (