You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- fix: cp-7.58.0 rewards settings change icon open modal (#21473)
## **Description**
Change icon to spawn account group modal in reward settings page to
details icon instead of QR.
## **Changelog**
CHANGELOG entry: null
## **Screenshots/Recordings**
### **After**
<img width="495" height="944" alt="image"
src="https://github.com/user-attachments/assets/12f7db40-34c5-4c14-a5de-177b05ccbb1a"
/>
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Replaces the QR code icon with the details icon to open the account
addresses modal and updates related tests/mocks, with a small try/catch
cleanup.
>
> - **Rewards Settings UI**:
> - Change addresses action button icon from `IconNameDS.QrCode` to
`IconNameDS.Details` in `RewardSettingsAccountGroup.tsx`.
> - Minor cleanup: simplify `catch {}` when selecting EVM address.
> - **Tests & Mocks**:
> - Update tests in `RewardSettingsAccountGroup.test.tsx` to reference
the addresses button (formerly QR) and expect navigation/disabled
states.
> - Adjust mocked `IconName` to include `Details` and remove `QrCode`
where used.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4583764. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
[38ccc8e](38ccc8e)
Co-authored-by: VGR <[email protected]>
0 commit comments