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
54a995bf
Commit
54a995bf
authored
Sep 21, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix internal txs
parent
efc31a28
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
TxInternalsListItem.tsx
ui/tx/internals/TxInternalsListItem.tsx
+3
-3
TxInternalsTable.tsx
ui/tx/internals/TxInternalsTable.tsx
+4
-6
TxInternalsTableItem.tsx
ui/tx/internals/TxInternalsTableItem.tsx
+5
-3
No files found.
ui/tx/internals/TxInternalsListItem.tsx
View file @
54a995bf
...
...
@@ -21,13 +21,13 @@ const TxInternalsListItem = ({ type, status, from, to, value, gasLimit }: Props)
<
Tag
colorScheme=
"cyan"
mr=
{
2
}
>
{
capitalize
(
type
)
}
</
Tag
>
<
TxStatus
status=
{
status
}
/>
</
Flex
>
<
Box
w=
"100%"
display=
"
inline-grid"
gridTemplateColumns=
"1fr auto 1fr
"
columnGap=
{
3
}
>
<
Address
>
<
Box
w=
"100%"
display=
"
flex
"
columnGap=
{
3
}
>
<
Address
width=
"calc((100% - 48px) / 2)"
>
<
AddressIcon
hash=
{
from
}
/>
<
AddressLink
ml=
{
2
}
fontWeight=
"500"
hash=
{
from
}
/>
</
Address
>
<
Icon
as=
{
rightArrowIcon
}
boxSize=
{
6
}
color=
"gray.500"
/>
<
Address
>
<
Address
width=
"calc((100% - 48px) / 2)"
>
<
AddressIcon
hash=
{
to
}
/>
<
AddressLink
ml=
{
2
}
fontWeight=
"500"
hash=
{
to
}
/>
</
Address
>
...
...
ui/tx/internals/TxInternalsTable.tsx
View file @
54a995bf
...
...
@@ -11,18 +11,16 @@ const TxInternalsTable = () => {
<
Thead
>
<
Tr
>
<
Th
width=
"26%"
>
Type
</
Th
>
<
Th
width=
"20%"
pr=
"0"
>
From
</
Th
>
<
Th
width=
"20%"
pl=
"0"
>
To
</
Th
>
<
Th
width=
"20%"
>
From
</
Th
>
<
Th
width=
"24px"
px=
{
0
}
/>
<
Th
width=
"20%"
>
To
</
Th
>
<
Th
width=
"17%"
isNumeric
>
Value
</
Th
>
<
Th
width=
"17%"
isNumeric
>
Gas limit
</
Th
>
</
Tr
>
</
Thead
>
<
Tbody
>
{
data
.
map
((
item
)
=>
(
<
TxInternalsTableItem
key=
{
item
.
id
}
{
...
item
}
/>
<
TxInternalsTableItem
key=
{
item
.
id
}
{
...
item
}
/>
))
}
</
Tbody
>
</
Table
>
...
...
ui/tx/internals/TxInternalsTableItem.tsx
View file @
54a995bf
...
...
@@ -24,14 +24,16 @@ const TxInternalTableItem = ({ type, status, from, to, value, gasLimit }: Props)
<
Tag
colorScheme=
"cyan"
mr=
{
2
}
>
{
capitalize
(
type
)
}
</
Tag
>
<
TxStatus
status=
{
status
}
/>
</
Td
>
<
Td
pr=
"0"
>
<
Td
>
<
Address
>
<
AddressIcon
hash=
{
from
}
/>
<
AddressLink
ml=
{
2
}
fontWeight=
"500"
hash=
{
from
}
flexGrow=
{
1
}
/>
<
Icon
as=
{
rightArrowIcon
}
boxSize=
{
6
}
mx=
{
2
}
flexShrink=
{
0
}
color=
"gray.500"
/>
</
Address
>
</
Td
>
<
Td
pl=
"0"
>
<
Td
px=
{
0
}
>
<
Icon
as=
{
rightArrowIcon
}
boxSize=
{
6
}
color=
"gray.500"
/>
</
Td
>
<
Td
>
<
Address
>
<
AddressIcon
hash=
{
to
}
/>
<
AddressLink
ml=
{
2
}
fontWeight=
"500"
hash=
{
to
}
/>
...
...
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