Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Sep 14, 2023
1 parent bf7ee92 commit 6cc3a55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/swapv2/LimitOrder/LimitOrderForm.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6cc3a55

Please sign in to comment.