Skip to content

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

Merged
jacogr merged 1 commit intomasterfrom
jg-expose-useChainInfo
Mar 26, 2020
Merged

Expose useChainInfo (re-use of some info for signer)#2460
jacogr merged 1 commit intomasterfrom
jg-expose-useChainInfo

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