Uniswap / Uniswap/interface

Crash report: `TypeError: undefined is not an object (evaluating 'at.a[e||st.e.MAINNET].infoLink')`

Open
#3,938 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

URL

https://app.uniswap.org/#/pool

Error

TypeError: undefined is not an object (evaluating 'at.a[e||st.e.MAINNET].infoLink')

Stacktrace

vj@https://app.uniswap.org/static/js/main.2ce6a487.chunk.js:1:329281
fa@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2754299
Yf@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2806600
Cs@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2793841
Ts@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2793769
As@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2793632
ws@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2790598
ws@[native code]
@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2740091
@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2817328
Yi@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2740037
Ki@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2739972
Fe@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2811139
Xt@https://app.uniswap.org/static/js/2.bf7b8f1d.chunk.js:2:2718602
Xt@[native code]

Device data

{
  "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/102.0.5005.87 Mobile/15E148 Safari/604.1",
  "browser": {
    "name": "Chrome",
    "version": "102.0.5005.87",
    "major": "102"
  },
  "engine": {
    "name": "WebKit",
    "version": "605.1.15"
  },
  "os": {
    "name": "iOS",
    "version": "15.5"
  },
  "device": {
    "vendor": "Apple",
    "model": "iPhone",
    "type": "mobile"
  },
  "cpu": {}
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash at https://app.uniswap.org/#/pool using the reported iPhone and Chrome environment. Use the minified stacktrace and the expression involving MAINNET and infoLink to locate the source responsible; done means the pool page no longer crashes in this scenario and the failure is covered by an appropriate check.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.