-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:feat integrating account balance #2030
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<wui-tabs | ||
.onTabChange=${this.onTabChange.bind(this)} | ||
.activeTab=${this.currentTab} | ||
localTabWidth="104px" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this ok ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes normally localTabWidth
is 100px
, but we set wui-tabs
to width:100%
, so 100px
is not enough anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, though I don't really understand how fetchGetBalance
works
It will make a call to the |
Changes
wui-list-token
compositewui-list-description
compositewui-tabs
composite to fix state in account viewwui-tag
compositew3m-account-activity-widget
for activity tab contentw3m-account-nft-widget
for nft tab contentw3m-account-token-widget
for nft token contentw3m-activity-list
to share ui/logic for activity contentgetBalance
function toBlockChainApiController
fetchTokenBalance
function toAccountController
tokenBalance
state toAccountController