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
f6caf9b7
Commit
f6caf9b7
authored
Oct 07, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide topic match link
parent
ac044ac7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
TxLogItem.tsx
ui/tx/logs/TxLogItem.tsx
+5
-4
No files found.
ui/tx/logs/TxLogItem.tsx
View file @
f6caf9b7
import
{
Text
,
Grid
,
GridItem
,
Link
,
Tooltip
,
Button
,
Ic
on
,
useColorModeValue
}
from
'
@chakra-ui/react
'
;
import
{
Text
,
Grid
,
GridItem
,
Tooltip
,
Butt
on
,
useColorModeValue
}
from
'
@chakra-ui/react
'
;
import
React
from
'
react
'
;
import
type
{
Log
}
from
'
types/api/log
'
;
import
searchIcon
from
'
icons/search.svg
'
;
//
import searchIcon from 'icons/search.svg';
import
Address
from
'
ui/shared/address/Address
'
;
import
AddressIcon
from
'
ui/shared/address/AddressIcon
'
;
import
AddressLink
from
'
ui/shared/address/AddressLink
'
;
...
...
@@ -43,11 +43,12 @@ const TxLogItem = ({ address, index, topics, data, decoded }: Props) => {
<
AddressIcon
hash=
{
address
.
hash
}
/>
<
AddressLink
hash=
{
address
.
hash
}
alias=
{
address
.
name
}
ml=
{
2
}
/>
</
Address
>
<
Tooltip
label=
"Find matches topic"
>
{
/* api doesn't have find topic feature yet */
}
{
/* <Tooltip label="Find matches topic">
<Link ml={ 2 } mr={{ base: 9, lg: 0 }} display="inline-flex">
<Icon as={ searchIcon } boxSize={ 5 }/>
</Link>
</
Tooltip
>
</Tooltip>
*/
}
<
Tooltip
label=
"Log index"
>
<
Button
variant=
"outline"
colorScheme=
"gray"
isActive
ml=
"auto"
size=
"sm"
fontWeight=
{
400
}
>
{
index
}
...
...
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