diff --git a/apps/cowswap-frontend/src/modules/trade/updaters/RecipientAddressUpdater.tsx b/apps/cowswap-frontend/src/modules/trade/updaters/RecipientAddressUpdater.tsx index 7e46c45981..d84bf88bac 100644 --- a/apps/cowswap-frontend/src/modules/trade/updaters/RecipientAddressUpdater.tsx +++ b/apps/cowswap-frontend/src/modules/trade/updaters/RecipientAddressUpdater.tsx @@ -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 }