Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

feat(PoolPage): improve button feedback. reload/clear after create liquidity #187

Merged
merged 2 commits into from
May 23, 2022

Conversation

LuizAsFight
Copy link
Contributor

Button

  • show Add Liquidity when there's already a pool
  • show Create Liquidity when there's not a pool yet

After create a pool

  • reload balance
  • reload poolInfo
  • clear both inputs

Closes #180

@LuizAsFight LuizAsFight added enhancement New feature or request page:pools labels May 21, 2022
@LuizAsFight LuizAsFight self-assigned this May 21, 2022
@vercel
Copy link

vercel bot commented May 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
swayswap ✅ Ready (Inspect) Visit Preview May 21, 2022 at 4:40AM (UTC)

@@ -2,9 +2,7 @@
/* tslint:disable */
/* eslint-disable */
export type { ExchangeContractAbi } from './ExchangeContractAbi';
export type { SwayswapContractAbi } from './SwayswapContractAbi';
Copy link
Member

Choose a reason for hiding this comment

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

I think you can revert this file. Take a look if your forc is on version v0.13

forc --version and to update cargo install forc --force

Copy link
Contributor Author

@LuizAsFight LuizAsFight May 21, 2022

Choose a reason for hiding this comment

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

weird that it keeps changing this file. I'm on forc v0.13

@LuizAsFight LuizAsFight merged commit 845c636 into master May 23, 2022
@LuizAsFight LuizAsFight deleted the lf-180/pool-button-messages branch May 23, 2022 00:24
pedronauck added a commit that referenced this pull request May 23, 2022
…-select

* 'master' of github.com:FuelLabs/swayswap:
  ci: add action for validate pull request (#178)
  feat: add user guided states on swap (#188)
  docs: add links for live previews (#183)
  feat(PoolPage): improve button feedback. reload/clear after create liquidity (#187)
  feat(PoolPage): When set input value, calculate the other input value. Validate if pool ratio is right (#185)
  feat: Save state of pool page (#164)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request page:pools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add user guide states on create pool
2 participants