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
f14fc6b3
Commit
f14fc6b3
authored
Oct 11, 2022
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporary fix for block
parent
d22d9d0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
BlockTxs.tsx
ui/block/BlockTxs.tsx
+1
-1
TxsTableItem.tsx
ui/txs/TxsTableItem.tsx
+1
-11
No files found.
ui/block/BlockTxs.tsx
View file @
f14fc6b3
...
...
@@ -3,7 +3,7 @@ import React from 'react';
import
TxsContent
from
'
ui/txs/TxsContent
'
;
const
BlockTxs
=
()
=>
{
return
<
TxsContent
showDescription=
{
false
}
showSortButton=
{
false
}
/>;
return
<
TxsContent
showDescription=
{
false
}
showSortButton=
{
false
}
txs=
{
[]
}
/>;
};
export
default
BlockTxs
;
ui/txs/TxsTableItem.tsx
View file @
f14fc6b3
...
...
@@ -34,13 +34,7 @@ import TxAdditionalInfoButton from 'ui/txs/TxAdditionalInfoButton';
import
TxType
from
'
./TxType
'
;
<
<<<<<<
HEAD
const
TxsTableItem
=
({
tx
}:
{
tx
:
ArrayElement
<
typeof
txs
>
}) =
>
{
=======
const
TxsTableItem
=
({
tx
}:
{
tx
:
Transaction
})
=>
{
const
link
=
useLink
();
>>>>>>>
9239655
(
txs
api
start
)
const
addressFrom
=
(
<
Address
>
<
Tooltip
label=
{
tx
.
from
.
implementation_name
}
>
...
...
@@ -118,11 +112,7 @@ const TxsTableItem = ({ tx }: {tx: Transaction}) => {
</
TruncatedTextTooltip
>
</
Td
>
<
Td
>
<
<<<<<<
HEAD
<
Link
href=
{
link
(
'
block
'
,
{
id
:
tx
.
block_num
.
toString
()
})
}
>
{
tx
.
block_num
}
</
Link
>
=======
{
tx
.
block
&&
<
Link
href=
{
link
(
'
block_index
'
,
{
id
:
tx
.
block
.
toString
()
})
}
>
{
tx
.
block
}
</
Link
>
}
>>>>>>>
9239655 (txs api start)
{
tx
.
block
&&
<
Link
href=
{
link
(
'
block
'
,
{
id
:
tx
.
block
.
toString
()
})
}
>
{
tx
.
block
}
</
Link
>
}
</
Td
>
{
/* TODO: fix "show" problem */
}
<
Show
above=
"xl"
>
...
...
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