Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/cowprotocol/cowswap into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
shoom3301 committed Oct 17, 2023
2 parents 384701c + 9c1f2f1 commit 250da7a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [1.48.1](https://github.com/cowprotocol/cowswap/compare/v1.48.0...v1.48.1) (2023-10-17)


### Bug Fixes

* **swap:** don't crash app when token decimals eq 0 ([#3228](https://github.com/cowprotocol/cowswap/issues/3228)) ([aad09c6](https://github.com/cowprotocol/cowswap/commit/aad09c6b71c1c0a8dabb1f3ea85292bed332dbc7))
* **wc:** add back patch which fixes WC path issue ([#3230](https://github.com/cowprotocol/cowswap/issues/3230)) ([4f4b7d5](https://github.com/cowprotocol/cowswap/commit/4f4b7d56e1cf806d52f09875f95c0afa15a06985))

## [1.48.0](https://github.com/cowprotocol/cowswap/compare/v1.47.1...v1.48.0) (2023-10-16)


Expand Down
2 changes: 1 addition & 1 deletion apps/cowswap-frontend/src/modules/swap/pure/warnings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const SwapWarningsTop = React.memo(function (props: SwapWarningsTopProps)
priceImpact={priceImpact}
buyingFiatAmount={buyingFiatAmount}
tradeUrlParams={tradeUrlParams}
sellAmount={trade?.inputAmount.toFixed(trade?.inputAmount?.currency?.decimals || 18)}
sellAmount={trade?.inputAmount.toExact()}
/>
</>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export function RecipientAddressUpdater() {

useEffect(() => {
if (state?.recipientAddress !== recipientAddress) {
updateState?.({ recipientAddress })
updateState?.({ ...state, recipientAddress })
}
}, [recipientAddress, state?.recipientAddress, updateState])
}, [recipientAddress, state, updateState])

return null
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cowswap",
"version": "1.48.0",
"version": "1.48.1",
"description": "CoW Swap",
"main": "index.js",
"author": "",
Expand Down
11 changes: 11 additions & 0 deletions patches/@walletconnect+universal-provider+2.10.2.patch

Large diffs are not rendered by default.

0 comments on commit 250da7a

Please sign in to comment.