Skip to content

Commit

Permalink
remove ibc-transfer and asset-list
Browse files Browse the repository at this point in the history
add ibc-asset-list
fix bug that shows topTokens is undefined
  • Loading branch information
Eason Smith committed Jan 23, 2025
1 parent 2a3b712 commit e4374b3
Show file tree
Hide file tree
Showing 112 changed files with 415 additions and 17,271 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const useAssets = (chainName: string) => {
})
.filter((asset) => {
const isWithinLimit = ibcAssets.length <= MAX_TOKENS_TO_SHOW;
return isWithinLimit || topTokens.includes(asset.symbol);
return isWithinLimit || topTokens?.includes(asset.symbol);
})
.map((asset) => ({ denom: asset.base, amount: '0' }));

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cosmology/asset-list",
"name": "@hyperweb/ibc-asset-list",
"version": "1.1.1",
"private": true,
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1,889 changes: 413 additions & 1,476 deletions examples/asset-list/yarn.lock → examples/ibc-asset-list/yarn.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions examples/ibc-transfer/.eslintrc.json

This file was deleted.

36 changes: 0 additions & 36 deletions examples/ibc-transfer/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/ibc-transfer/.yarnrc.yml

This file was deleted.

Loading

0 comments on commit e4374b3

Please sign in to comment.