ci(release): publish latest release

parent bfe93297
IPFS hash of the deployment:
- CIDv0: `QmPcDN4EiXdJ2e4eH6cYKAGiYRrAh8W2hgbmDUf5GKzRGi`
- CIDv1: `bafybeias3bjepuy326a66fc6lsm7wr7kfo7v5z7qvjgho2s5ge4s734mk4`
- CIDv0: `Qmb32y1Tr36548yibWocrfwjoXvLKDe2fwiJ34vMNi6A24`
- CIDv1: `bafybeif4ussdpkymilubf3qmecctn52my5szafwzho24vhcxez6nvfwdpe`
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.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybeias3bjepuy326a66fc6lsm7wr7kfo7v5z7qvjgho2s5ge4s734mk4.ipfs.dweb.link/
- [ipfs://QmPcDN4EiXdJ2e4eH6cYKAGiYRrAh8W2hgbmDUf5GKzRGi/](ipfs://QmPcDN4EiXdJ2e4eH6cYKAGiYRrAh8W2hgbmDUf5GKzRGi/)
- https://bafybeif4ussdpkymilubf3qmecctn52my5szafwzho24vhcxez6nvfwdpe.ipfs.dweb.link/
- [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
\ No newline at end of file
web/5.76.2
\ No newline at end of file
......@@ -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(
(accepted: boolean) => {
setShowBridgingWarningModal(false)
......@@ -212,10 +199,6 @@ export function SwapFormButton({
[onReviewPress],
)
const handleBridgingOnContinue = useCallback(() => bridgingModalActionCallback(true), [bridgingModalActionCallback])
const handleBridgingOnClose = useCallback(() => bridgingModalActionCallback(false), [bridgingModalActionCallback])
const invalidTokenSelection = useMemo(() => Object.values(currencies).some((currency) => !currency), [currencies])
const invalidAmountSelection = !exactAmountFiat && !exactAmountToken
......@@ -281,11 +264,7 @@ export function SwapFormButton({
// If disabled, use defaults for background color
// Otherwise, we'll try and use the color from the token (i.e. swapping on Web > TDP)
const buttonBackgroundColor = disabled
? undefined
: !activeAccount || isSubmitting
? lightTokenColor
: validTokenColor
const buttonBackgroundColor = disabled ? undefined : isInactiveAccountOrSubmitting ? lightTokenColor : validTokenColor
const buttonVariant: ButtonProps['variant'] = !activeAccount
? 'branded'
......@@ -312,7 +291,14 @@ export function SwapFormButton({
<LowNativeBalanceModal
isOpen={showMaxNativeTransferModal}
onClose={handleHideMaxNativeTransferModal}
onAcknowledge={handleOnReviewPress}
onAcknowledge={() => {
handleHideMaxNativeTransferModal()
onReviewPress({
skipBridgingWarning: true,
skipTokenProtectionWarning: true,
skipMaxTransferWarning: true,
})
}}
/>
<Flex row alignSelf="stretch">
<Button
......@@ -323,7 +309,13 @@ export function SwapFormButton({
backgroundColor={buttonBackgroundColor}
size={isShortMobileDevice ? 'small' : 'large'}
testID={TestID.ReviewSwap}
onPress={handleOnReviewPress}
onPress={() =>
onReviewPress({
skipBridgingWarning: false,
skipMaxTransferWarning: false,
skipTokenProtectionWarning: false,
})
}
>
{buttonTextColor ? (
<Button.Text customBackgroundColor={buttonBackgroundColor} color={buttonTextColor}>
......@@ -339,8 +331,8 @@ export function SwapFormButton({
<BridgingModal
isOpen={showBridgingWarningModal}
derivedSwapInfo={derivedSwapInfo}
onContinue={handleBridgingOnContinue}
onClose={handleBridgingOnClose}
onContinue={() => bridgingModalActionCallback(true)}
onClose={() => bridgingModalActionCallback(false)}
/>
{currenciesWithProtectionWarnings.length > 0 && currenciesWithProtectionWarnings[0] && (
<TokenWarningModal
......@@ -348,7 +340,14 @@ export function SwapFormButton({
currencyInfo0={currenciesWithProtectionWarnings[0]}
currencyInfo1={currenciesWithProtectionWarnings.length > 1 ? currenciesWithProtectionWarnings[1] : undefined}
closeModalOnly={handleHideTokenWarningModal}
onAcknowledge={handleOnReviewPress}
onAcknowledge={() => {
handleHideTokenWarningModal()
onReviewPress({
skipBridgingWarning: false,
skipMaxTransferWarning: false,
skipTokenProtectionWarning: true,
})
}}
/>
)}
</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