Commit 5f6e285
authored
fix: replace mojibake UTC disclaimer prefix in dashboard stats card (JhaSourav07#2219)
## Description
This PR fixes the broken UTC disclaimer prefix in
`components/dashboard/StatsCard.tsx` by replacing the mojibake-rendered
decorative prefix with a clean info symbol. It keeps the existing
disclaimer copy and UTC date rendering intact, and adds a focused
regression test for the disclaimer output.
Fixes JhaSourav07#2218
## Pillar
UI polish and accessibility improvements
## Checklist
- [x] I read the contributing guide
- [x] I kept the change small and focused
- [x] I added a focused regression test
- [x] I ran local tests
- [x] I ran linting for the touched files
- [ ] I verified Vercel deployment (maintainer authorization required on
this repo)
## Testing
- `npm test -- StatsCard.test.tsx`
- `npx eslint components/dashboard/StatsCard.tsx
components/dashboard/StatsCard.test.tsx`2 files changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments