MetaMask / MetaMask/metamask-mobile

[Bug]: Earn - Estimated annual rewards displays `undefined`

Open
#22,866 0 comments 0 reactions 0 assignees View on GitHub
regression-RC-7.60.0 Sev2-normal team-earn type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

Estimated annual rewards displays `undefined` next to number

### Expected behavior

_No response_

### Screenshots/Recordings

Image

https://github.com/user-attachments/assets/c013981a-3ed0-4f09-a580-00134b2c8e7f

### Steps to reproduce

1. From the Home page, click Earn on any token
2. Click a percentage amount
3. See `undefined`

### Error messages or log output

```shell

```

### Detection stage

During release testing

### Version

7.60.0

### Build type

None

### Device

Pixel 6

### Operating system

Android

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce this on Android 7.60.0 by opening Home, selecting Earn for a token, and choosing a percentage amount. Trace the annual rewards display from that flow and confirm the completed change no longer renders `undefined` next to the number.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.