Commit 0425a416 authored by isstuev's avatar isstuev

fixes

parent 75a90ae5
...@@ -44,7 +44,7 @@ const OutputRootsListItem = ({ item }: Props) => { ...@@ -44,7 +44,7 @@ const OutputRootsListItem = ({ item }: Props) => {
name: 'L1 txn hash', name: 'L1 txn hash',
value: ( value: (
<LinkExternal <LinkExternal
w="100%" maxW="100%"
display="inline-flex" display="inline-flex"
overflow="hidden" overflow="hidden"
href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: item.l1_tx_hash } }) } href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: item.l1_tx_hash } }) }
......
...@@ -41,7 +41,7 @@ const OutputRootsTableItem = ({ item }: Props) => { ...@@ -41,7 +41,7 @@ const OutputRootsTableItem = ({ item }: Props) => {
<Td verticalAlign="middle" pr={ 12 }> <Td verticalAlign="middle" pr={ 12 }>
<Flex> <Flex>
<LinkExternal <LinkExternal
w="100%" maxW="100%"
display="inline-flex" display="inline-flex"
href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: item.l1_tx_hash } }) } href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: item.l1_tx_hash } }) }
> >
......
...@@ -16,15 +16,10 @@ import WithdrawalsTable from 'ui/withdrawals/WithdrawalsTable'; ...@@ -16,15 +16,10 @@ import WithdrawalsTable from 'ui/withdrawals/WithdrawalsTable';
const Withdrawals = () => { const Withdrawals = () => {
const isMobile = useIsMobile(); const isMobile = useIsMobile();
// const { data, isError, isLoading, isPaginationVisible, pagination } = useQueryWithPages({ const { data, isError, isLoading, isPaginationVisible, pagination } = useQueryWithPages({
// resourceName: 'withdrawals',
// });
const { data, isError, isLoading, pagination } = useQueryWithPages({
resourceName: 'withdrawals', resourceName: 'withdrawals',
}); });
const isPaginationVisible = false;
const countersQuery = useApiQuery('withdrawals_count'); const countersQuery = useApiQuery('withdrawals_count');
const content = data?.items ? ( const content = data?.items ? (
......
...@@ -60,7 +60,7 @@ const TxnBatchesListItem = ({ item }: Props) => { ...@@ -60,7 +60,7 @@ const TxnBatchesListItem = ({ item }: Props) => {
<VStack spacing={ 3 } w="100%" overflow="hidden"> <VStack spacing={ 3 } w="100%" overflow="hidden">
{ item.l1_tx_hashes.map(hash => ( { item.l1_tx_hashes.map(hash => (
<LinkExternal <LinkExternal
w="100%" maxW="100%"
display="inline-flex" display="inline-flex"
href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: hash } }) } href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: hash } }) }
key={ hash } key={ hash }
......
...@@ -53,7 +53,7 @@ const TxnBatchesTableItem = ({ item }: Props) => { ...@@ -53,7 +53,7 @@ const TxnBatchesTableItem = ({ item }: Props) => {
<VStack spacing={ 3 }> <VStack spacing={ 3 }>
{ item.l1_tx_hashes.map(hash => ( { item.l1_tx_hashes.map(hash => (
<LinkExternal <LinkExternal
w="100%" maxW="100%"
display="inline-flex" display="inline-flex"
key={ hash } key={ hash }
href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: hash } }) } href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: hash } }) }
......
...@@ -66,7 +66,7 @@ const WithdrawalsListItem = ({ item }: Props) => { ...@@ -66,7 +66,7 @@ const WithdrawalsListItem = ({ item }: Props) => {
value: item.l1_tx_hash ? ( value: item.l1_tx_hash ? (
<LinkExternal <LinkExternal
href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: item.l1_tx_hash } }) } href={ appConfig.L2.L1BaseUrl + route({ pathname: '/tx/[hash]', query: { hash: item.l1_tx_hash } }) }
w="100%" maxW="100%"
display="inline-flex" display="inline-flex"
overflow="hidden" overflow="hidden"
> >
......
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