MetaMask / MetaMask/metamask-mobile
[Bug]: Predict - clicking on See Polymarket terms displays Error loading page
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
For a user where Polymarket is unavailable in their region, clicking on the link `See Polymarket terms` results in Error loading page
### Expected behavior
No error
### Screenshots/Recordings
https://github.com/user-attachments/assets/5bcf1c98-3504-4d58-8183-c67ece1699d5
https://github.com/user-attachments/assets/f8e71ffd-8ff6-467d-81b4-9e6863053487
### Steps to reproduce
1. Polymarket unavailable in the user region
2. Click on Trade
3. Click on Predictions
4. Click Add funds
5. Click See Polymarket terms
6. Notice error
### Error messages or log output
```shell
```
### Detection stage
During release testing
### Version
7.60.0
### Build number
3122
### Build type
None
### Device
iPhone 15, Pixel 6 Pro
### Operating system
iOS, Android
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Reproduce on iOS or Android in a region where Polymarket is unavailable by following Trade > Predictions > Add funds > See Polymarket terms. Trace the Predictions and Add funds flow to identify how the terms link is opened. Done means the link no longer displays an error for unavailable regions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100