Skip to content
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

Expose useChainInfo (re-use of some info for signer) #2460

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

jacogr
Copy link
Member

@jacogr jacogr commented Mar 26, 2020

Data can be pulled from chainInfo (not everything needed) in #2360

import { getSystemIcon } from '@polkadot/apps-config/ui';
import { useApi } from '@polkadot/react-hooks';

interface ChainInfo extends MetadataDef {}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably want to add color in here, it seems like the only thing missing for the signer.

@jacogr jacogr merged commit e2bbfb4 into master Mar 26, 2020
@jacogr jacogr deleted the jg-expose-useChainInfo branch March 26, 2020 13:01
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants