-
Notifications
You must be signed in to change notification settings - Fork 15
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
Optimize stats page #2032
base: master
Are you sure you want to change the base?
Optimize stats page #2032
Conversation
✅ Deploy Preview for testnet-hydra-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for hydradx-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for edge-hydra-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -159,3 +164,37 @@ const getAccountIdentity = (api: ApiPromise, address: string) => async () => { | |||
identity: res.isSome ? res.unwrap()[0].info.display.asRaw.toUtf8() : null, | |||
} | |||
} | |||
|
|||
export const useTreasuryBalances = () => { | |||
const polkadot = chainsMap.get("polkadot") |
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.
you can use const { data: api } = useExternalApi("polkadot")
hook instead
No description provided.