From 3c44b7421c969fc9616b9dc58a786a4f8a5fd845 Mon Sep 17 00:00:00 2001 From: Elena <70885163+elena-zh@users.noreply.github.com> Date: Fri, 27 Jun 2025 16:36:22 +0300 Subject: [PATCH 1/4] fix: Buy COW link --- apps/cowswap-frontend/src/pages/Account/Balances.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/cowswap-frontend/src/pages/Account/Balances.tsx b/apps/cowswap-frontend/src/pages/Account/Balances.tsx index 051c1f1c06..5d984c30a8 100644 --- a/apps/cowswap-frontend/src/pages/Account/Balances.tsx +++ b/apps/cowswap-frontend/src/pages/Account/Balances.tsx @@ -44,7 +44,7 @@ import { } from 'pages/Account/styled' import LockedGnoVesting from './LockedGnoVesting' - +import { WRAPPED_NATIVE_CURRENCIES as WETH } from '@cowprotocol/common-const' // Number of blocks to wait before we re-enable the swap COW -> vCOW button after confirmation const BLOCKS_TO_WAIT = 2 @@ -58,7 +58,7 @@ export default function Profile() { const previousAccount = usePrevious(account) const cowContractAddress = COW_CONTRACT_ADDRESS[chainId] - + const nativeWrappedToken = WETH[chainId] const isProviderNetworkUnsupported = useIsProviderNetworkUnsupported() const blockNumber = useBlockNumber() const [confirmationBlock, setConfirmationBlock] = useState(undefined) @@ -300,7 +300,7 @@ export default function Profile() { } /> - Buy COW + Buy COW )} From 09cf69f38fd5d8bb6f38c764bd3efe4c1fb5dbb7 Mon Sep 17 00:00:00 2001 From: Elena <70885163+elena-zh@users.noreply.github.com> Date: Fri, 27 Jun 2025 17:01:47 +0300 Subject: [PATCH 2/4] update link-2 --- apps/cowswap-frontend/src/pages/Account/Balances.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cowswap-frontend/src/pages/Account/Balances.tsx b/apps/cowswap-frontend/src/pages/Account/Balances.tsx index 5d984c30a8..8b6e088180 100644 --- a/apps/cowswap-frontend/src/pages/Account/Balances.tsx +++ b/apps/cowswap-frontend/src/pages/Account/Balances.tsx @@ -300,7 +300,7 @@ export default function Profile() { } /> - Buy COW + Buy COW )} From 05d60a9340bc99aec9eab12e5acffd4cc1d974b7 Mon Sep 17 00:00:00 2001 From: Elena <70885163+elena-zh@users.noreply.github.com> Date: Fri, 27 Jun 2025 17:24:58 +0300 Subject: [PATCH 3/4] update link-3 --- apps/cowswap-frontend/src/pages/Account/Balances.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cowswap-frontend/src/pages/Account/Balances.tsx b/apps/cowswap-frontend/src/pages/Account/Balances.tsx index 8b6e088180..1e016db2e8 100644 --- a/apps/cowswap-frontend/src/pages/Account/Balances.tsx +++ b/apps/cowswap-frontend/src/pages/Account/Balances.tsx @@ -300,7 +300,7 @@ export default function Profile() { } /> - Buy COW + Buy COW )} From 2153572396837fbc514a63d9718f11aabc024b5b Mon Sep 17 00:00:00 2001 From: Elena <70885163+elena-zh@users.noreply.github.com> Date: Fri, 27 Jun 2025 18:08:56 +0300 Subject: [PATCH 4/4] rabbit comments --- apps/cowswap-frontend/src/pages/Account/Balances.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/cowswap-frontend/src/pages/Account/Balances.tsx b/apps/cowswap-frontend/src/pages/Account/Balances.tsx index 1e016db2e8..83815417a9 100644 --- a/apps/cowswap-frontend/src/pages/Account/Balances.tsx +++ b/apps/cowswap-frontend/src/pages/Account/Balances.tsx @@ -5,6 +5,7 @@ import CowImage from '@cowprotocol/assets/cow-swap/cow_token.svg' import vCOWImage from '@cowprotocol/assets/images/vCOW.svg' import { useCurrencyAmountBalance } from '@cowprotocol/balances-and-allowances' import { COW_TOKEN_TO_CHAIN, COW_CONTRACT_ADDRESS, V_COW } from '@cowprotocol/common-const' +import { WRAPPED_NATIVE_CURRENCIES as WETH } from '@cowprotocol/common-const' import { usePrevious } from '@cowprotocol/common-hooks' import { getBlockExplorerUrl, getProviderErrorMessage } from '@cowprotocol/common-utils' import { ButtonPrimary, HoverTooltip, TokenAmount } from '@cowprotocol/ui' @@ -44,7 +45,7 @@ import { } from 'pages/Account/styled' import LockedGnoVesting from './LockedGnoVesting' -import { WRAPPED_NATIVE_CURRENCIES as WETH } from '@cowprotocol/common-const' + // Number of blocks to wait before we re-enable the swap COW -> vCOW button after confirmation const BLOCKS_TO_WAIT = 2