Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Update/dex js 0.4.0 #1051

Merged
merged 4 commits into from
May 26, 2020
Merged

Update/dex js 0.4.0 #1051

merged 4 commits into from
May 26, 2020

Conversation

W3stside
Copy link
Contributor

@W3stside W3stside commented May 25, 2020

Had to update types on contracts (as Dima warned)

I will update smartFormat into this PR so don't merge plz

W3stside added 3 commits May 25, 2020 12:49
* MaximumSlippage: create comp

1. dumb for now

* Tooltip size prop

* text

* moved MaximumSlippage to own file

1. minor css changes

* const: slippage map and default slip

* PriceSlippage reducer & actions

* Price: move MaximumSlippage state inside

1. MaximumSlippage remains dumb
2. added slippage label next to price title for clarity

* MaximumSlippage: passed state setters / CSS

1. passed custom slippage setters from parent containers
2. css fixes

* const: fixed exports + added new const

1. BigNumber ONE & ONE_HUNDRED exports

* usePriceEstimation: added slippage price calc

* just use index as key

* css for dark mode

* remove slippage from app because :(

* commented in useful code for if we reinstantiate

* move price checking function to utils/price

* usePriceEstimation: removed price slippage code

1. also removed reducer code for slippage
@ghost
Copy link

ghost commented May 25, 2020

Travis automatic deployment:
https://pr1051--dexreact.review.gnosisdev.com

Copy link
Contributor

@anxolin anxolin left a comment

Choose a reason for hiding this comment

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

it's weird that we now need to do the as unknown, isn't it?

@Velenir
Copy link
Contributor

Velenir commented May 25, 2020

@W3stside W3stside changed the base branch from develop to release/1.0 May 26, 2020 06:12
@W3stside W3stside mentioned this pull request May 26, 2020
@anxolin anxolin merged commit 056c85e into release/1.0 May 26, 2020
@alfetopito alfetopito deleted the update/dex-js-0.4.0 branch May 26, 2020 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants