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
ba1a213f
Unverified
Commit
ba1a213f
authored
Nov 13, 2024
by
tom goriunov
Committed by
GitHub
Nov 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zilliqa: "Verified contracts" page crashes on desktop (#2393)
Fixes #2389
parent
4d0f5122
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
contracts.ts
types/api/contracts.ts
+1
-1
VerifiedContractsTableItem.tsx
ui/verifiedContracts/VerifiedContractsTableItem.tsx
+7
-5
No files found.
types/api/contracts.ts
View file @
ba1a213f
...
@@ -5,7 +5,7 @@ export interface VerifiedContract {
...
@@ -5,7 +5,7 @@ export interface VerifiedContract {
address
:
AddressParam
;
address
:
AddressParam
;
certified
?:
boolean
;
certified
?:
boolean
;
coin_balance
:
string
;
coin_balance
:
string
;
compiler_version
:
string
;
compiler_version
:
string
|
null
;
language
:
'
vyper
'
|
'
yul
'
|
'
solidity
'
;
language
:
'
vyper
'
|
'
yul
'
|
'
solidity
'
;
has_constructor_args
:
boolean
;
has_constructor_args
:
boolean
;
optimization_enabled
:
boolean
;
optimization_enabled
:
boolean
;
...
...
ui/verifiedContracts/VerifiedContractsTableItem.tsx
View file @
ba1a213f
...
@@ -66,11 +66,13 @@ const VerifiedContractsTableItem = ({ data, isLoading }: Props) => {
...
@@ -66,11 +66,13 @@ const VerifiedContractsTableItem = ({ data, isLoading }: Props) => {
<
Td
>
<
Td
>
<
Flex
flexWrap=
"wrap"
columnGap=
{
2
}
>
<
Flex
flexWrap=
"wrap"
columnGap=
{
2
}
>
<
Skeleton
isLoaded=
{
!
isLoading
}
textTransform=
"capitalize"
my=
{
1
}
>
{
data
.
language
}
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
textTransform=
"capitalize"
my=
{
1
}
>
{
data
.
language
}
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
color=
"text_secondary"
wordBreak=
"break-all"
my=
{
1
}
cursor=
"pointer"
>
{
data
.
compiler_version
&&
(
<
Tooltip
label=
{
data
.
compiler_version
}
>
<
Skeleton
isLoaded=
{
!
isLoading
}
color=
"text_secondary"
wordBreak=
"break-all"
my=
{
1
}
cursor=
"pointer"
>
<
span
>
{
data
.
compiler_version
.
split
(
'
+
'
)[
0
]
}
</
span
>
<
Tooltip
label=
{
data
.
compiler_version
}
>
</
Tooltip
>
<
span
>
{
data
.
compiler_version
.
split
(
'
+
'
)[
0
]
}
</
span
>
</
Skeleton
>
</
Tooltip
>
</
Skeleton
>
)
}
</
Flex
>
</
Flex
>
{
data
.
zk_compiler_version
&&
(
{
data
.
zk_compiler_version
&&
(
<
Flex
flexWrap=
"wrap"
columnGap=
{
2
}
my=
{
1
}
>
<
Flex
flexWrap=
"wrap"
columnGap=
{
2
}
my=
{
1
}
>
...
...
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