From a183e21509a93d1563ae9bf9267c813a55d86417 Mon Sep 17 00:00:00 2001 From: Sophia Date: Tue, 8 Oct 2024 10:39:11 -0400 Subject: [PATCH] Add ConnectionGuard to swaps fulfillment (#2476) --- .../src/components/Swaps/Orders.tsx | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/centrifuge-app/src/components/Swaps/Orders.tsx b/centrifuge-app/src/components/Swaps/Orders.tsx index c0ddbed895..4a8ecdb90c 100644 --- a/centrifuge-app/src/components/Swaps/Orders.tsx +++ b/centrifuge-app/src/components/Swaps/Orders.tsx @@ -12,6 +12,7 @@ import { WithdrawAddress, } from '@centrifuge/centrifuge-js' import { + ConnectionGuard, truncateAddress, useBalances, useCentrifuge, @@ -110,15 +111,17 @@ export function Orders({ buyOrSell }: OrdersProps) { align: 'left', header: '', cell: (row: SwapOrder) => ( - + + + ), flex: '1', },