Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Block Explorer
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EcoMobiCoin
Block Explorer
Commits
4c243bc0
Commit
4c243bc0
authored
1 year ago
by
Jerome DESCHAMPS
Browse files
Options
Downloads
Patches
Plain Diff
Fixed type bug
parent
8a71182d
No related branches found
No related tags found
1 merge request
!2
Added behaviors by address
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/search/BehaviorItem.tsx
+2
-3
2 additions, 3 deletions
src/search/BehaviorItem.tsx
with
2 additions
and
3 deletions
src/search/BehaviorItem.tsx
+
2
−
3
View file @
4c243bc0
...
...
@@ -8,13 +8,12 @@ import InfoRow from "../components/InfoRow";
import
{
BehaviorReceipt
}
from
"
../EthersProjectFork
"
;
type
BehaviorItemProps
=
{
bx
:
BehaviorReceipt
;
bx
:
ProcessedBehavior
|
BehaviorReceipt
;
selectedAddress
?:
string
;
};
const
BehaviorItem
:
React
.
FC
<
BehaviorItemProps
>
=
({
bx
,
selectedAddress
,
})
=>
{
return
(
...
...
@@ -27,7 +26,7 @@ const BehaviorItem: React.FC<BehaviorItemProps> = ({
<
TimestampAge
timestamp
=
{
Number
(
bx
.
timestamp
)
}
/>
<
span
className
=
"col-span-2 flex items-baseline justify-between space-x-2 pr-2"
>
<
InfoRow
title
=
""
>
<
DecoratedAddressLink
address
=
{
bx
.
from
}
/>
bx.from
&&
<
DecoratedAddressLink
address
=
{
bx
.
from
!
}
/>
</
InfoRow
>
</
span
>
<
span
>
{
Number
(
bx
.
quantity
)
}
</
span
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment