anyswap / anyswap-crosschain

GNU General Public License v3.0
33 stars 64 forks source link

nonApproveList Not Found #4

Closed svgvr8 closed 2 years ago

svgvr8 commented 2 years ago

I noticed that "nonApproveList.ts" is in the .gitignore doc.

Could you please help me resolve that? Thank you

D3athGr1p commented 2 years ago

add file nonApproveList.ts in src/components/NonApprove/ and manually insert below code in it.

type Item = {
  token: string
  anyToken: string
  symbol: string
  spender: string
}

export const nonApproveList: {
  [chainId: number]: Item[]
} = {}