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
e3a35c6e
Commit
e3a35c6e
authored
Sep 06, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix last block layout + tx additional info fix
parent
4d20dec2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
block.ts
mocks/blocks/block.ts
+1
-1
LatestBlocksItem.tsx
ui/home/LatestBlocksItem.tsx
+1
-1
TxAdditionalInfoContent.tsx
ui/txs/TxAdditionalInfoContent.tsx
+2
-0
No files found.
mocks/blocks/block.ts
View file @
e3a35c6e
...
@@ -32,7 +32,7 @@ export const base: Block = {
...
@@ -32,7 +32,7 @@ export const base: Block = {
type
:
'
POA Mania Reward
'
,
type
:
'
POA Mania Reward
'
,
},
},
{
{
reward
:
'
10268536075
0
0000000
'
,
reward
:
'
10268536075
1
0000000
'
,
type
:
'
Validator Reward
'
,
type
:
'
Validator Reward
'
,
},
},
{
{
...
...
ui/home/LatestBlocksItem.tsx
View file @
e3a35c6e
...
@@ -64,7 +64,7 @@ const LatestBlocksItem = ({ block, h, isLoading }: Props) => {
...
@@ -64,7 +64,7 @@ const LatestBlocksItem = ({ block, h, isLoading }: Props) => {
{
!
config
.
features
.
rollup
.
isEnabled
&&
!
config
.
UI
.
views
.
block
.
hiddenFields
?.
nonce
&&
(
{
!
config
.
features
.
rollup
.
isEnabled
&&
!
config
.
UI
.
views
.
block
.
hiddenFields
?.
nonce
&&
(
<>
<>
<
Skeleton
isLoaded=
{
!
isLoading
}
>
Reward
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
>
Reward
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
color=
"text_secondary"
><
span
>
{
totalReward
.
toFixed
()
}
</
span
></
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
color=
"text_secondary"
><
span
>
{
totalReward
.
dp
(
10
).
toFixed
()
}
</
span
></
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
textTransform=
"capitalize"
>
{
getNetworkValidatorTitle
()
}
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
textTransform=
"capitalize"
>
{
getNetworkValidatorTitle
()
}
</
Skeleton
>
<
AddressEntity
<
AddressEntity
address=
{
block
.
miner
}
address=
{
block
.
miner
}
...
...
ui/txs/TxAdditionalInfoContent.tsx
View file @
e3a35c6e
...
@@ -38,6 +38,8 @@ const TxAdditionalInfoContent = ({ tx }: { tx: Transaction }) => {
...
@@ -38,6 +38,8 @@ const TxAdditionalInfoContent = ({ tx }: { tx: Transaction }) => {
currency=
{
config
.
chain
.
currency
.
symbol
}
currency=
{
config
.
chain
.
currency
.
symbol
}
exchangeRate=
{
tx
.
exchange_rate
}
exchangeRate=
{
tx
.
exchange_rate
}
accuracyUsd=
{
2
}
accuracyUsd=
{
2
}
flexWrap=
"wrap"
rowGap=
{
0
}
/>
/>
</
Flex
>
</
Flex
>
</
Box
>
</
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