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

fix: refactor, use and export calcPriceImpact function #307

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

dennyscode
Copy link
Contributor

@@ -135,7 +134,7 @@ export const TokenBase: FC<TokenProps & BoxProps> = ({
enableImpactTokenTooltip ? (
<Tooltip title={t('tooltip.priceImpact')} sx={{ cursor: 'help' }}>
<TextSecondary>
{t('format.percent', { value: priceImpact })}
{t('format.percent', { value: 123 })}
Copy link
Member

Choose a reason for hiding this comment

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

Please bring priceImpact back 😅

@chybisov chybisov changed the title chore: refactor, use and export calcPriceImpact function fix: refactor, use and export calcPriceImpact function Oct 17, 2024
@chybisov chybisov merged commit 234844f into main Oct 17, 2024
1 check passed
@chybisov chybisov deleted the LF-10303-widget-export-calc-price-impact branch October 17, 2024 13:03
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.

2 participants