Commit 2c5559b8 authored by tom's avatar tom

fix ts

parent 8bf2f3e8
...@@ -36,6 +36,7 @@ export const token: Address = { ...@@ -36,6 +36,7 @@ export const token: Address = {
name: null, name: null,
private_tags: [], private_tags: [],
watchlist_names: [], watchlist_names: [],
watchlist_address_id: null,
public_tags: [], public_tags: [],
token: tokenInfo, token: tokenInfo,
block_number_balance_updated_at: 8201413, block_number_balance_updated_at: 8201413,
...@@ -84,6 +85,7 @@ export const contract: Address = { ...@@ -84,6 +85,7 @@ export const contract: Address = {
public_tags: [ privateTag ], public_tags: [ privateTag ],
token: null, token: null,
watchlist_names: [ watchlistName ], watchlist_names: [ watchlistName ],
watchlist_address_id: 42,
}; };
export const validator: Address = { export const validator: Address = {
...@@ -113,4 +115,5 @@ export const validator: Address = { ...@@ -113,4 +115,5 @@ export const validator: Address = {
public_tags: [], public_tags: [],
token: null, token: null,
watchlist_names: [], watchlist_names: [],
watchlist_address_id: null,
}; };
...@@ -42,6 +42,7 @@ const TokenContractInfo = ({ tokenQuery }: Props) => { ...@@ -42,6 +42,7 @@ const TokenContractInfo = ({ tokenQuery }: Props) => {
is_contract: true, is_contract: true,
implementation_name: null, implementation_name: null,
watchlist_names: [], watchlist_names: [],
watchlist_address_id: null,
}; };
return <AddressHeadingInfo address={ address } token={ contractQuery.data?.token }/>; return <AddressHeadingInfo address={ address } token={ contractQuery.data?.token }/>;
......
...@@ -72,6 +72,7 @@ const TokenInstanceContent = () => { ...@@ -72,6 +72,7 @@ const TokenInstanceContent = () => {
is_contract: true, is_contract: true,
implementation_name: null, implementation_name: null,
watchlist_names: [], watchlist_names: [],
watchlist_address_id: null,
}; };
const appLink = (() => { const appLink = (() => {
if (!tokenInstanceQuery.data.external_app_url) { if (!tokenInstanceQuery.data.external_app_url) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment