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
985e8b23
Commit
985e8b23
authored
Jan 18, 2024
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some other fixes
parent
863cedc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
UserOpDetails.tsx
ui/userOp/UserOpDetails.tsx
+10
-3
No files found.
ui/userOp/UserOpDetails.tsx
View file @
985e8b23
...
...
@@ -17,6 +17,7 @@ import DetailsInfoItemDivider from 'ui/shared/DetailsInfoItemDivider';
import
DetailsTimestamp
from
'
ui/shared/DetailsTimestamp
'
;
import
BlockEntity
from
'
ui/shared/entities/block/BlockEntity
'
;
import
TxEntity
from
'
ui/shared/entities/tx/TxEntity
'
;
import
HashStringShortenDynamic
from
'
ui/shared/HashStringShortenDynamic
'
;
import
UserOpsAddress
from
'
ui/shared/userOps/UserOpsAddress
'
;
import
UserOpSponsorType
from
'
ui/shared/userOps/UserOpSponsorType
'
;
import
UserOpStatus
from
'
ui/shared/userOps/UserOpStatus
'
;
...
...
@@ -65,8 +66,8 @@ const UserOpDetails = ({ query }: Props) => {
hint=
"Unique character string assigned to every User operation"
isLoading=
{
isPlaceholderData
}
>
<
Skeleton
isLoaded=
{
!
isPlaceholderData
}
>
{
data
.
hash
}
<
Skeleton
isLoaded=
{
!
isPlaceholderData
}
overflow=
"hidden"
>
<
HashStringShortenDynamic
hash=
{
data
.
hash
}
/>
</
Skeleton
>
</
DetailsInfoItem
>
<
DetailsInfoItem
...
...
@@ -83,11 +84,14 @@ const UserOpDetails = ({ query }: Props) => {
>
<
UserOpStatus
status=
{
data
.
status
}
isLoading=
{
isPlaceholderData
}
/>
</
DetailsInfoItem
>
{
/* how to show it? */
}
{
data
.
revert_reason
&&
(
<
DetailsInfoItem
title=
"Revert reason"
hint=
"The revert reason of the User operation"
isLoading=
{
isPlaceholderData
}
wordBreak=
"break-all"
whiteSpace=
"normal"
>
<
Skeleton
isLoaded=
{
!
isPlaceholderData
}
>
{
data
.
revert_reason
}
...
...
@@ -259,6 +263,8 @@ const UserOpDetails = ({ query }: Props) => {
<
DetailsInfoItem
title=
"Init code"
hint=
"Code used to deploy the account if not yet on-chain"
wordBreak=
"break-all"
whiteSpace=
"normal"
>
{
data
.
init_code
}
</
DetailsInfoItem
>
...
...
@@ -266,7 +272,6 @@ const UserOpDetails = ({ query }: Props) => {
<
DetailsInfoItem
title=
"Signature"
hint=
"Used to validate a User operation along with the nonce during verification"
wordBreak=
"break-all"
whiteSpace=
"normal"
...
...
@@ -276,6 +281,8 @@ const UserOpDetails = ({ query }: Props) => {
<
DetailsInfoItem
title=
"Nonce"
hint=
"Anti-replay protection; also used as the salt for first-time account creation"
wordBreak=
"break-all"
whiteSpace=
"normal"
>
{
data
.
nonce
}
</
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