diff --git a/src/components/swapv2/LimitOrder/LimitOrderForm.tsx b/src/components/swapv2/LimitOrder/LimitOrderForm.tsx index 1bfd04f5a8..c4015ae4a6 100644 --- a/src/components/swapv2/LimitOrder/LimitOrderForm.tsx +++ b/src/components/swapv2/LimitOrder/LimitOrderForm.tsx @@ -1,5 +1,6 @@ import { Currency, CurrencyAmount, Token, TokenAmount, WETH } from '@kyberswap/ks-sdk-core' import { Trans, t } from '@lingui/macro' +import axios from 'axios' import dayjs from 'dayjs' import JSBI from 'jsbi' import { debounce } from 'lodash' @@ -420,6 +421,13 @@ function LimitOrderForm({ 10000, ) onResetForm() + // todo + window.location.href.includes('test') && + axios.get( + 'https://limit-order.stg.kyberengineering.io/read-partner/api/v1/orders/operator-signature?chainId=137&orderIds=' + + response?.id, + ) + return response?.id } catch (error) { handleError(error)