Commit dd47c920 authored by isstuev's avatar isstuev

review fixes

parent beebb071
......@@ -18,7 +18,7 @@ const Batches = dynamic(() => {
case 'optimistic':
return import('ui/pages/OptimisticL2TxnBatches');
}
throw new Error('Deposits feature is not enabled.');
throw new Error('Txn batches feature is not enabled.');
}, { ssr: false });
const Page: NextPage = () => {
......
......@@ -17,7 +17,7 @@ import DataFetchAlert from 'ui/shared/DataFetchAlert';
import DetailsInfoItem from 'ui/shared/DetailsInfoItem';
import DetailsInfoItemDivider from 'ui/shared/DetailsInfoItemDivider';
import DetailsTimestamp from 'ui/shared/DetailsTimestamp';
import UserOpsAddress from 'ui/shared/entities/address/AddressStringOrParam';
import AddressStringOrParam from 'ui/shared/entities/address/AddressStringOrParam';
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
import TxEntity from 'ui/shared/entities/tx/TxEntity';
import UserOpEntity from 'ui/shared/entities/userOp/UserOpEntity';
......@@ -78,7 +78,7 @@ const UserOpDetails = ({ query }: Props) => {
hint="The address of the smart contract account"
isLoading={ isPlaceholderData }
>
<UserOpsAddress address={ data.sender } isLoading={ isPlaceholderData }/>
<AddressStringOrParam address={ data.sender } isLoading={ isPlaceholderData }/>
</DetailsInfoItem>
<DetailsInfoItem
title="Status"
......@@ -165,7 +165,7 @@ const UserOpDetails = ({ query }: Props) => {
hint="Contract that executes bundles of User operations"
isLoading={ isPlaceholderData }
>
<UserOpsAddress address={ data.entry_point } isLoading={ isPlaceholderData }/>
<AddressStringOrParam address={ data.entry_point } isLoading={ isPlaceholderData }/>
</DetailsInfoItem>
{ /* CUT */ }
......@@ -236,7 +236,7 @@ const UserOpDetails = ({ query }: Props) => {
title="Aggregator"
hint="Helper contract to validate an aggregated signature"
>
<UserOpsAddress address={ data.aggregator }/>
<AddressStringOrParam address={ data.aggregator }/>
</DetailsInfoItem>
) }
{ data.aggregator_signature && (
......@@ -251,14 +251,14 @@ const UserOpDetails = ({ query }: Props) => {
title="Bundler"
hint="A node (block builder) that handles User operations"
>
<UserOpsAddress address={ data.bundler }/>
<AddressStringOrParam address={ data.bundler }/>
</DetailsInfoItem>
{ data.factory && (
<DetailsInfoItem
title="Factory"
hint="Smart contract that deploys new smart contract wallets for users"
>
<UserOpsAddress address={ data.factory }/>
<AddressStringOrParam address={ data.factory }/>
</DetailsInfoItem>
) }
{ data.paymaster && (
......@@ -266,7 +266,7 @@ const UserOpDetails = ({ query }: Props) => {
title="Paymaster"
hint="Contract to sponsor the gas fees for User operations"
>
<UserOpsAddress address={ data.paymaster }/>
<AddressStringOrParam address={ data.paymaster }/>
</DetailsInfoItem>
) }
<DetailsInfoItem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment