[Bug] maximumFractionDigits value is out of range
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
📱 Interface Affected
Which application are you experiencing issues with?
- Android
🧩 App Version
- Production build
💻 System / Environment Info
Please provide details about your environment:
- TokenPocket
🔁 Steps to Reproduce
- Open https://app.uniswap.org/
- Create a liquidity pool
- Select the trading pair as ETH, 01 (0x32708538a107253b51a735A724330A23106ca4cA), with a 1% fee level
✅ Expected Behavior
What should have happened?
RangeError: maximumFractionDigits value is out of range.
at Number.toLocaleString ()
at https://app.uniswap.org/assets/FeeTierSearchModal-CWlRRi51.js:1:20018
at Object.F0 [as useMemo] (https://app.uniswap.org/assets/client-Cpog3VMD.js:8:56560)
at n.useMemo (https://app.uniswap.org/assets/react-D7hXOYnT.js:1:7172)
at Ir (https://app.uniswap.org/assets/FeeTierSearchModal-CWlRRi51.js:1:19398)
at gm (https://app.uniswap.org/assets/CreatePosition-B4n_DmJu.js:1:130180)
at jc (https://app.uniswap.org/assets/client-Cpog3VMD.js:8:47733)
at fe (https://app.uniswap.org/assets/client-Cpog3VMD.js:8:70331)
at s1 (https://app.uniswap.org/assets/client-Cpog3VMD.js:8:80660)
at uv (https://app.uniswap.org/assets/client-Cpog3VMD.js:8:116196)
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
Reproduce the issue by opening the app, creating a liquidity pool, and selecting ETH with token 0x32708538a107253b51a735A724330A23106ca4cA at the 1% fee level. Start from the FeeTierSearchModal-CWlRRi51.js stack entry and the Number.toLocaleString call; done means this selection no longer raises the reported RangeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100