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
ef579a00
Commit
ef579a00
authored
Feb 23, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo and tx execution icon color
parent
39549259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ContractVerificationFlattenSourceCode.tsx
...ication/methods/ContractVerificationFlattenSourceCode.tsx
+1
-1
TxDetails.tsx
ui/tx/TxDetails.tsx
+3
-1
No files found.
ui/contractVerification/methods/ContractVerificationFlattenSourceCode.tsx
View file @
ef579a00
...
...
@@ -12,7 +12,7 @@ import ContractVerificationFieldOptimization from '../fields/ContractVerificatio
const
ContractVerificationFlattenSourceCode
=
()
=>
{
return
(
<
ContractVerificationMethod
title=
"Contract verification via Solidity (fattened source code)"
>
<
ContractVerificationMethod
title=
"Contract verification via Solidity (f
l
attened source code)"
>
<
ContractVerificationFieldName
/>
<
ContractVerificationFieldIsYul
/>
<
ContractVerificationFieldCompiler
/>
...
...
ui/tx/TxDetails.tsx
View file @
ef579a00
...
...
@@ -10,6 +10,7 @@ import {
Flex
,
Tooltip
,
chakra
,
useColorModeValue
,
}
from
'
@chakra-ui/react
'
;
import
BigNumber
from
'
bignumber.js
'
;
import
{
route
}
from
'
nextjs-routes
'
;
...
...
@@ -59,6 +60,7 @@ const TxDetails = () => {
smooth
:
true
,
});
},
[]);
const
executionSuccessIconColor
=
useColorModeValue
(
'
blackAlpha.800
'
,
'
whiteAlpha.800
'
);
if
(
isLoading
)
{
return
<
TxDetailsSkeleton
/>;
...
...
@@ -94,7 +96,7 @@ const TxDetails = () => {
const
executionSuccessBadge
=
toAddress
.
is_contract
&&
data
.
result
===
'
success
'
?
(
<
Tooltip
label=
"Contract execution completed"
>
<
chakra
.
span
display=
"inline-flex"
ml=
{
2
}
mr=
{
1
}
>
<
Icon
as=
{
successIcon
}
boxSize=
{
4
}
color=
"green.500"
cursor=
"pointer"
/>
<
Icon
as=
{
successIcon
}
boxSize=
{
4
}
color=
{
executionSuccessIconColor
}
cursor=
"pointer"
/>
</
chakra
.
span
>
</
Tooltip
>
)
:
null
;
...
...
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