ci(release): publish latest release

parent bfe93297
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmPcDN4EiXdJ2e4eH6cYKAGiYRrAh8W2hgbmDUf5GKzRGi` - CIDv0: `Qmb32y1Tr36548yibWocrfwjoXvLKDe2fwiJ34vMNi6A24`
- CIDv1: `bafybeias3bjepuy326a66fc6lsm7wr7kfo7v5z7qvjgho2s5ge4s734mk4` - CIDv1: `bafybeif4ussdpkymilubf3qmecctn52my5szafwzho24vhcxez6nvfwdpe`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org). The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...@@ -10,9 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway. ...@@ -10,9 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs. Your Uniswap settings are never remembered across different URLs.
IPFS gateways: IPFS gateways:
- https://bafybeias3bjepuy326a66fc6lsm7wr7kfo7v5z7qvjgho2s5ge4s734mk4.ipfs.dweb.link/ - https://bafybeif4ussdpkymilubf3qmecctn52my5szafwzho24vhcxez6nvfwdpe.ipfs.dweb.link/
- [ipfs://QmPcDN4EiXdJ2e4eH6cYKAGiYRrAh8W2hgbmDUf5GKzRGi/](ipfs://QmPcDN4EiXdJ2e4eH6cYKAGiYRrAh8W2hgbmDUf5GKzRGi/) - [ipfs://Qmb32y1Tr36548yibWocrfwjoXvLKDe2fwiJ34vMNi6A24/](ipfs://Qmb32y1Tr36548yibWocrfwjoXvLKDe2fwiJ34vMNi6A24/)
### 5.76.1 (2025-03-13) ### 5.76.2 (2025-03-17)
### Bug Fixes
* **web:** fix swapping on TDP (#17378) 3000727
web/5.76.1 web/5.76.2
\ No newline at end of file \ No newline at end of file
...@@ -189,19 +189,6 @@ export function SwapFormButton({ ...@@ -189,19 +189,6 @@ export function SwapFormButton({
], ],
) )
const handleOnReviewPress = useCallback(() => {
// One of these modals may or may not be showing
// If showing, hide
handleHideMaxNativeTransferModal()
handleHideTokenWarningModal()
onReviewPress({
skipBridgingWarning: false,
skipMaxTransferWarning: false,
skipTokenProtectionWarning: false,
})
}, [handleHideMaxNativeTransferModal, handleHideTokenWarningModal, onReviewPress])
const bridgingModalActionCallback = useCallback( const bridgingModalActionCallback = useCallback(
(accepted: boolean) => { (accepted: boolean) => {
setShowBridgingWarningModal(false) setShowBridgingWarningModal(false)
...@@ -212,10 +199,6 @@ export function SwapFormButton({ ...@@ -212,10 +199,6 @@ export function SwapFormButton({
[onReviewPress], [onReviewPress],
) )
const handleBridgingOnContinue = useCallback(() => bridgingModalActionCallback(true), [bridgingModalActionCallback])
const handleBridgingOnClose = useCallback(() => bridgingModalActionCallback(false), [bridgingModalActionCallback])
const invalidTokenSelection = useMemo(() => Object.values(currencies).some((currency) => !currency), [currencies]) const invalidTokenSelection = useMemo(() => Object.values(currencies).some((currency) => !currency), [currencies])
const invalidAmountSelection = !exactAmountFiat && !exactAmountToken const invalidAmountSelection = !exactAmountFiat && !exactAmountToken
...@@ -281,11 +264,7 @@ export function SwapFormButton({ ...@@ -281,11 +264,7 @@ export function SwapFormButton({
// If disabled, use defaults for background color // If disabled, use defaults for background color
// Otherwise, we'll try and use the color from the token (i.e. swapping on Web > TDP) // Otherwise, we'll try and use the color from the token (i.e. swapping on Web > TDP)
const buttonBackgroundColor = disabled const buttonBackgroundColor = disabled ? undefined : isInactiveAccountOrSubmitting ? lightTokenColor : validTokenColor
? undefined
: !activeAccount || isSubmitting
? lightTokenColor
: validTokenColor
const buttonVariant: ButtonProps['variant'] = !activeAccount const buttonVariant: ButtonProps['variant'] = !activeAccount
? 'branded' ? 'branded'
...@@ -312,7 +291,14 @@ export function SwapFormButton({ ...@@ -312,7 +291,14 @@ export function SwapFormButton({
<LowNativeBalanceModal <LowNativeBalanceModal
isOpen={showMaxNativeTransferModal} isOpen={showMaxNativeTransferModal}
onClose={handleHideMaxNativeTransferModal} onClose={handleHideMaxNativeTransferModal}
onAcknowledge={handleOnReviewPress} onAcknowledge={() => {
handleHideMaxNativeTransferModal()
onReviewPress({
skipBridgingWarning: true,
skipTokenProtectionWarning: true,
skipMaxTransferWarning: true,
})
}}
/> />
<Flex row alignSelf="stretch"> <Flex row alignSelf="stretch">
<Button <Button
...@@ -323,7 +309,13 @@ export function SwapFormButton({ ...@@ -323,7 +309,13 @@ export function SwapFormButton({
backgroundColor={buttonBackgroundColor} backgroundColor={buttonBackgroundColor}
size={isShortMobileDevice ? 'small' : 'large'} size={isShortMobileDevice ? 'small' : 'large'}
testID={TestID.ReviewSwap} testID={TestID.ReviewSwap}
onPress={handleOnReviewPress} onPress={() =>
onReviewPress({
skipBridgingWarning: false,
skipMaxTransferWarning: false,
skipTokenProtectionWarning: false,
})
}
> >
{buttonTextColor ? ( {buttonTextColor ? (
<Button.Text customBackgroundColor={buttonBackgroundColor} color={buttonTextColor}> <Button.Text customBackgroundColor={buttonBackgroundColor} color={buttonTextColor}>
...@@ -339,8 +331,8 @@ export function SwapFormButton({ ...@@ -339,8 +331,8 @@ export function SwapFormButton({
<BridgingModal <BridgingModal
isOpen={showBridgingWarningModal} isOpen={showBridgingWarningModal}
derivedSwapInfo={derivedSwapInfo} derivedSwapInfo={derivedSwapInfo}
onContinue={handleBridgingOnContinue} onContinue={() => bridgingModalActionCallback(true)}
onClose={handleBridgingOnClose} onClose={() => bridgingModalActionCallback(false)}
/> />
{currenciesWithProtectionWarnings.length > 0 && currenciesWithProtectionWarnings[0] && ( {currenciesWithProtectionWarnings.length > 0 && currenciesWithProtectionWarnings[0] && (
<TokenWarningModal <TokenWarningModal
...@@ -348,7 +340,14 @@ export function SwapFormButton({ ...@@ -348,7 +340,14 @@ export function SwapFormButton({
currencyInfo0={currenciesWithProtectionWarnings[0]} currencyInfo0={currenciesWithProtectionWarnings[0]}
currencyInfo1={currenciesWithProtectionWarnings.length > 1 ? currenciesWithProtectionWarnings[1] : undefined} currencyInfo1={currenciesWithProtectionWarnings.length > 1 ? currenciesWithProtectionWarnings[1] : undefined}
closeModalOnly={handleHideTokenWarningModal} closeModalOnly={handleHideTokenWarningModal}
onAcknowledge={handleOnReviewPress} onAcknowledge={() => {
handleHideTokenWarningModal()
onReviewPress({
skipBridgingWarning: false,
skipMaxTransferWarning: false,
skipTokenProtectionWarning: true,
})
}}
/> />
)} )}
</Flex> </Flex>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment