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

feat: Add react-markdown to display proposal info #637

Closed
wants to merge 7 commits into from

Conversation

Hemanthghs
Copy link
Collaborator

No description provided.

@Hemanthghs Hemanthghs marked this pull request as draft August 5, 2023 07:07
@aleem1314
Copy link
Member

Lets try these solutions and see remarkjs/react-markdown#635 (comment)

@Hemanthghs
Copy link
Collaborator Author

Lets try these solutions and see remarkjs/react-markdown#635 (comment)

Okay Aleem

@@ -210,7 +218,8 @@ export default function ProposalInfo() {
aminoConfig: chainInfo.aminoConfig,
prefix: chainInfo.config.bech32Config.bech32PrefixAccAddr,
feeAmount:
chainInfo.config?.feeCurrencies?.[0]?.gasPriceStep.average * 10 ** currency.coinDecimals,
chainInfo.config?.feeCurrencies?.[0]?.gasPriceStep.average *
Copy link
Contributor

Choose a reason for hiding this comment

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

why shouldn't we write one utility function getAverageFee to get the average fee?

@aleem1314
Copy link
Member

Closing in favour of #675

@aleem1314 aleem1314 closed this Aug 12, 2023
@Hemanthghs Hemanthghs deleted the hemanth/proposal-info-markdown branch May 21, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants