From caf97a0e1e5945f4bfa7db0b162294f39fb9ae51 Mon Sep 17 00:00:00 2001 From: Danh Date: Tue, 29 Aug 2023 14:49:11 +0700 Subject: [PATCH] fix: lower case address --- src/services/limitOrder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/limitOrder.ts b/src/services/limitOrder.ts index 3ed9f90015..665ec6dc5a 100644 --- a/src/services/limitOrder.ts +++ b/src/services/limitOrder.ts @@ -19,7 +19,7 @@ const limitOrderApi = createApi({ url: `${LIMIT_ORDER_API_READ}/v1/configs/contract-address`, params: { chainId }, }), - transformResponse: (data: any) => data?.data?.latest ?? '', + transformResponse: (data: any) => data?.data?.latest?.toLowerCase?.() ?? '', }), getListOrders: builder.query< { orders: LimitOrder[]; totalOrder: number },