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
0c3e28e5
Commit
0c3e28e5
authored
Apr 12, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
display date
parent
dc18feae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
account.ts
types/api/account.ts
+1
-0
utils.ts
ui/tokenInfo/utils.ts
+1
-1
VerifiedAddressesTableItem.tsx
ui/verifiedAddresses/VerifiedAddressesTableItem.tsx
+3
-2
No files found.
types/api/account.ts
View file @
0c3e28e5
...
...
@@ -203,6 +203,7 @@ export interface TokenInfoApplication {
telegram
?:
string
;
tokenAddress
:
string
;
twitter
?:
string
;
updatedAt
:
string
;
}
export
interface
TokenInfoApplications
{
...
...
ui/tokenInfo/utils.ts
View file @
0c3e28e5
...
...
@@ -34,7 +34,7 @@ export function getFormDefaultValues(address: string, application: TokenInfoAppl
};
}
export
function
prepareRequestBody
(
data
:
Fields
):
Omit
<
TokenInfoApplication
,
'
id
'
|
'
status
'
>
{
export
function
prepareRequestBody
(
data
:
Fields
):
Omit
<
TokenInfoApplication
,
'
id
'
|
'
status
'
|
'
updatedAt
'
>
{
return
{
coinGeckoTicker
:
data
.
ticker_coin_gecko
,
coinMarketCapTicker
:
data
.
ticker_coin_market_cap
,
...
...
ui/verifiedAddresses/VerifiedAddressesTableItem.tsx
View file @
0c3e28e5
...
...
@@ -4,6 +4,7 @@ import React from 'react';
import
type
{
TokenInfoApplication
,
VerifiedAddress
}
from
'
types/api/account
'
;
import
editIcon
from
'
icons/edit.svg
'
;
import
dayjs
from
'
lib/date/dayjs
'
;
import
AddressLink
from
'
ui/shared/address/AddressLink
'
;
import
AddressSnippet
from
'
ui/shared/AddressSnippet
'
;
import
TokenLogoPlaceholder
from
'
ui/shared/TokenLogoPlaceholder
'
;
...
...
@@ -50,7 +51,7 @@ const VerifiedAddressesTableItem = ({ item, application, onAdd, onEdit }: Props)
<
Td
>
<
AddressSnippet
address=
{
{
hash
:
item
.
contractAddress
,
is_contract
:
true
,
implementation_name
:
null
}
}
/>
</
Td
>
<
Td
fontSize=
"sm"
>
<
Td
fontSize=
"sm"
verticalAlign=
"middle"
>
{
application
?
(
<
Flex
alignItems=
"center"
columnGap=
{
2
}
w=
"100%"
>
<
Image
...
...
@@ -85,7 +86,7 @@ const VerifiedAddressesTableItem = ({ item, application, onAdd, onEdit }: Props)
)
}
</
Td
>
<
Td
fontSize=
"sm"
>
{
status
}
</
Td
>
<
Td
fontSize=
"sm"
>
</
Td
>
<
Td
fontSize=
"sm"
color=
"text_secondary"
>
{
dayjs
(
application
?.
updatedAt
).
format
(
'
MMM DD, YYYY
'
)
}
</
Td
>
</
Tr
>
);
};
...
...
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