Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
e96c4a57
Commit
e96c4a57
authored
Oct 12, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bb24f165
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ZkEvmL2TxnBatch.tsx
ui/pages/ZkEvmL2TxnBatch.tsx
+0
-1
ZkEvmL2TxnBatchDetails.tsx
ui/zkEvmL2TxnBatches/ZkEvmL2TxnBatchDetails.tsx
+6
-3
No files found.
ui/pages/ZkEvmL2TxnBatch.tsx
View file @
e96c4a57
...
...
@@ -77,7 +77,6 @@ const ZkEvmL2TxnBatch = () => {
{
batchQuery
.
isPlaceholderData
?
<
TabsSkeleton
tabs=
{
tabs
}
/>
:
(
<
RoutedTabs
tabs=
{
tabs
}
// tabListProps=
{
isMobile
?
undefined
:
TAB_LIST_PROPS
}
/>
)
}
</>
...
...
ui/zkEvmL2TxnBatches/ZkEvmL2TxnBatchDetails.tsx
View file @
e96c4a57
...
...
@@ -6,6 +6,8 @@ import React from 'react';
import
{
ZKEVM_L2_TX_BATCH_STATUSES
}
from
'
types/api/zkEvml2TxnBatches
'
;
import
type
{
ZkEvmL2TxnBatch
}
from
'
types/api/zkEvml2TxnBatches
'
;
import
{
route
}
from
'
nextjs-routes
'
;
import
clockIcon
from
'
icons/clock.svg
'
;
import
type
{
ResourceError
}
from
'
lib/api/resources
'
;
import
dayjs
from
'
lib/date/dayjs
'
;
...
...
@@ -15,6 +17,7 @@ import DataFetchAlert from 'ui/shared/DataFetchAlert';
import
DetailsInfoItem
from
'
ui/shared/DetailsInfoItem
'
;
import
TxEntityL1
from
'
ui/shared/entities/tx/TxEntityL1
'
;
import
HashStringShortenDynamic
from
'
ui/shared/HashStringShortenDynamic
'
;
import
LinkInternal
from
'
ui/shared/LinkInternal
'
;
import
PrevNext
from
'
ui/shared/PrevNext
'
;
import
TextSeparator
from
'
ui/shared/TextSeparator
'
;
import
VerificationSteps
from
'
ui/shared/verificationSteps/VerificationSteps
'
;
...
...
@@ -124,9 +127,9 @@ const ZkEvmL2TxnBatchDetails = ({ query }: Props) => {
isLoading=
{
isPlaceholderData
}
>
<
Skeleton
isLoaded=
{
!
isPlaceholderData
}
>
{
/* <LinkInternal href={ route({ pathname: '/block/[height_or_hash]', query: { height_or_hash: heightOrHash, tab: 'txs' } }) }> */
}
<
LinkInternal
href=
{
route
({
pathname
:
'
/zkevm-l2-txn-batch/[number]
'
,
query
:
{
number
:
data
.
number
.
toString
(),
tab
:
'
txs
'
}
})
}
>
{
data
.
transactions
.
length
}
transaction
{
data
.
transactions
.
length
===
1
?
''
:
'
s
'
}
{
/* </LinkInternal> */
}
</
LinkInternal
>
</
Skeleton
>
</
DetailsInfoItem
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment