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
96e87610
Commit
96e87610
authored
Dec 13, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove difficulty
parent
eff73e6c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
16 deletions
+4
-16
AddressBlocksValidated.tsx
ui/address/AddressBlocksValidated.tsx
+4
-5
AddressBlocksValidatedListItem.tsx
...ddress/blocksValidated/AddressBlocksValidatedListItem.tsx
+0
-4
AddressBlocksValidatedSkeletonMobile.tsx
.../blocksValidated/AddressBlocksValidatedSkeletonMobile.tsx
+0
-4
AddressBlocksValidatedTableItem.tsx
...dress/blocksValidated/AddressBlocksValidatedTableItem.tsx
+0
-3
No files found.
ui/address/AddressBlocksValidated.tsx
View file @
96e87610
...
@@ -76,7 +76,7 @@ const AddressBlocksValidated = ({ addressQuery }: Props) => {
...
@@ -76,7 +76,7 @@ const AddressBlocksValidated = ({ addressQuery }: Props) => {
return (
return (
<>
<>
<Hide below="lg">
<Hide below="lg">
<SkeletonTable columns={ [ '1
2%', '12%', '12%', '14
%', '25%', '25%' ] }/>
<SkeletonTable columns={ [ '1
7%', '17%', '16
%', '25%', '25%' ] }/>
</Hide>
</Hide>
<Show below="lg">
<Show below="lg">
<AddressBlocksValidatedSkeletonMobile/>
<AddressBlocksValidatedSkeletonMobile/>
...
@@ -99,10 +99,9 @@ const AddressBlocksValidated = ({ addressQuery }: Props) => {
...
@@ -99,10 +99,9 @@ const AddressBlocksValidated = ({ addressQuery }: Props) => {
<Table variant="simple" size="sm">
<Table variant="simple" size="sm">
<Thead top={ 80 }>
<Thead top={ 80 }>
<Tr>
<Tr>
<Th width="12%">Block</Th>
<Th width="17%">Block</Th>
<Th width="12%">Age</Th>
<Th width="17%">Age</Th>
<Th width="12%">Txn</Th>
<Th width="16%">Txn</Th>
<Th width="14%">Difficulty</Th>
<Th width="25%">GasUsed</Th>
<Th width="25%">GasUsed</Th>
<Th width="25%" isNumeric>Reward { appConfig.network.currency.symbol }</Th>
<Th width="25%" isNumeric>Reward { appConfig.network.currency.symbol }</Th>
</Tr>
</Tr>
...
...
ui/address/blocksValidated/AddressBlocksValidatedListItem.tsx
View file @
96e87610
...
@@ -30,10 +30,6 @@ const AddressBlocksValidatedListItem = (props: Props) => {
...
@@ -30,10 +30,6 @@ const AddressBlocksValidatedListItem = (props: Props) => {
<
Text
fontWeight=
{
500
}
flexShrink=
{
0
}
>
Txn
</
Text
>
<
Text
fontWeight=
{
500
}
flexShrink=
{
0
}
>
Txn
</
Text
>
<
Text
variant=
"secondary"
>
{
props
.
tx_count
}
</
Text
>
<
Text
variant=
"secondary"
>
{
props
.
tx_count
}
</
Text
>
</
Flex
>
</
Flex
>
<
Flex
columnGap=
{
2
}
w=
"100%"
>
<
Text
fontWeight=
{
500
}
flexShrink=
{
0
}
>
Difficulty
</
Text
>
<
Text
variant=
"secondary"
>
0.00 TH
</
Text
>
</
Flex
>
<
Flex
columnGap=
{
2
}
w=
"100%"
>
<
Flex
columnGap=
{
2
}
w=
"100%"
>
<
Text
fontWeight=
{
500
}
flexShrink=
{
0
}
>
Gas used
</
Text
>
<
Text
fontWeight=
{
500
}
flexShrink=
{
0
}
>
Gas used
</
Text
>
<
Text
variant=
"secondary"
>
{
BigNumber
(
props
.
gas_used
||
0
).
toFormat
()
}
</
Text
>
<
Text
variant=
"secondary"
>
{
BigNumber
(
props
.
gas_used
||
0
).
toFormat
()
}
</
Text
>
...
...
ui/address/blocksValidated/AddressBlocksValidatedSkeletonMobile.tsx
View file @
96e87610
...
@@ -30,10 +30,6 @@ const AddressBlocksValidatedSkeletonMobile = () => {
...
@@ -30,10 +30,6 @@ const AddressBlocksValidatedSkeletonMobile = () => {
<
Skeleton
w=
"70px"
/>
<
Skeleton
w=
"70px"
/>
<
Skeleton
w=
"70px"
/>
<
Skeleton
w=
"70px"
/>
</
Flex
>
</
Flex
>
<
Flex
h=
{
6
}
columnGap=
{
2
}
>
<
Skeleton
w=
"70px"
/>
<
Skeleton
w=
"180px"
/>
</
Flex
>
<
Flex
h=
{
6
}
columnGap=
{
2
}
>
<
Flex
h=
{
6
}
columnGap=
{
2
}
>
<
Skeleton
w=
"100px"
/>
<
Skeleton
w=
"100px"
/>
<
Skeleton
w=
"120px"
/>
<
Skeleton
w=
"120px"
/>
...
...
ui/address/blocksValidated/AddressBlocksValidatedTableItem.tsx
View file @
96e87610
...
@@ -29,9 +29,6 @@ const AddressBlocksValidatedTableItem = (props: Props) => {
...
@@ -29,9 +29,6 @@ const AddressBlocksValidatedTableItem = (props: Props) => {
<
Td
>
<
Td
>
<
Text
fontWeight=
"500"
>
{
props
.
tx_count
}
</
Text
>
<
Text
fontWeight=
"500"
>
{
props
.
tx_count
}
</
Text
>
</
Td
>
</
Td
>
<
Td
>
0.00 TH
</
Td
>
<
Td
>
<
Td
>
<
Flex
alignItems=
"center"
columnGap=
{
2
}
>
<
Flex
alignItems=
"center"
columnGap=
{
2
}
>
<
Box
flexBasis=
"80px"
>
{
BigNumber
(
props
.
gas_used
||
0
).
toFormat
()
}
</
Box
>
<
Box
flexBasis=
"80px"
>
{
BigNumber
(
props
.
gas_used
||
0
).
toFormat
()
}
</
Box
>
...
...
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