Crash report: `TypeError: n[b] is undefined`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Once typing in more than 3 words in token search, UniSwap interface crashes and sends me to error page.
URL
https://app.uniswap.org/#/swap
swap state
{
"INPUT": {
"currencyId": "ETH"
},
"OUTPUT": {
"currencyId": null
},
"independentField": "INPUT",
"typedValue": "",
"recipient": null
}
Error
TypeError: n[b] is undefined
Stacktrace
64/O/<@https://app.uniswap.org/static/js/main.78d1f7c0.chunk.js:1:1021814
Qa@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3692552
t.useMemo@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3517608
O@https://app.uniswap.org/static/js/main.78d1f7c0.chunk.js:1:1021667
xe@https://app.uniswap.org/static/js/main.78d1f7c0.chunk.js:1:863435
Sa@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3688141
Pf@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3699829
Ss@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3746236
gu@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3734291
mu@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3734219
vu@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3734080
ou@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3730860
iu@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3729411
O@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3755992
C@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:3756525
c/<@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:2647573
c@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:2647688
n@https://app.uniswap.org/static/js/7.27643716.chunk.js:2:2646633
Device data
{
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0",
"browser": {
"name": "Firefox",
"version": "106.0",
"major": "106"
},
"engine": {
"name": "Gecko",
"version": "106.0"
},
"os": {
"name": "Windows",
"version": "10"
},
"device": {},
"cpu": {
"architecture": "amd64"
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open https://app.uniswap.org/#/swap in the reported Firefox environment and reproduce the crash by typing more than three words in token search. Use the supplied swap state and minified stacktrace as the starting evidence. Done means token search no longer sends the interface to the error page in this scenario.
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
- 30/100