diff --git a/src/features/swap/components/SwapOrder/index.tsx b/src/features/swap/components/SwapOrder/index.tsx index 4dd8728970..c2a3c8b958 100644 --- a/src/features/swap/components/SwapOrder/index.tsx +++ b/src/features/swap/components/SwapOrder/index.tsx @@ -16,6 +16,8 @@ import { Typography } from '@mui/material' import { formatAmount } from '@/utils/formatNumber' import { formatVisualAmount } from '@/utils/formatters' import { getExecutionPrice, getLimitPrice, getOrderClass, getSurplusPrice } from '@/features/swap/helpers/utils' +import EthHashInfo from '@/components/common/EthHashInfo' +import useSafeInfo from '@/hooks/useSafeInfo' type SwapOrderProps = { txData?: TransactionData @@ -23,7 +25,8 @@ type SwapOrderProps = { } export const SellOrder = ({ order }: { order: SwapOrderType }) => { - const { uid, kind, validUntil, status, sellToken, buyToken, sellAmount, buyAmount, explorerUrl } = order + const { safeAddress } = useSafeInfo() + const { uid, kind, validUntil, status, sellToken, buyToken, sellAmount, buyAmount, explorerUrl, receiver } = order const executionPrice = getExecutionPrice(order) const limitPrice = getLimitPrice(order) @@ -104,6 +107,13 @@ export const SellOrder = ({ order }: { order: SwapOrderType }) => { , + receiver && receiver !== safeAddress ? ( + + + + ) : ( + <> + ), ]} /> )