Commit dd47c920 authored by isstuev's avatar isstuev

review fixes

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