diff --git a/src/action/sync.ts b/src/action/sync.ts index f52eb66..fd5b98a 100644 --- a/src/action/sync.ts +++ b/src/action/sync.ts @@ -101,7 +101,6 @@ const syncInfo = async (network: AbstractNetwork, address: Address) => { } }; - const syncAssets = async ( network: AbstractNetwork, networkType: string, diff --git a/src/pages/wallet-page/asset/AssetItem.tsx b/src/pages/wallet-page/asset/AssetItem.tsx index 37d9cab..1093a07 100644 --- a/src/pages/wallet-page/asset/AssetItem.tsx +++ b/src/pages/wallet-page/asset/AssetItem.tsx @@ -27,12 +27,11 @@ const AssetItem = (props: PropsType) => { {details.logo ? ( - + ) : ( - + )} - {details.name} @@ -53,8 +52,8 @@ const AssetItem = (props: PropsType) => { > { - {props.logoSrc && ( - - )} + {props.logo ? ( + + + + ) : undefined} {props.name}