Skip to content

Commit eb50b87

Browse files
committed
Fix unicode escape displaying literally in view mode selector
1 parent bb5ad14 commit eb50b87

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎.changelog/v0.6.x.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ This release normalizes FamilySearch as a downstream provider (equal to Ancestry
2828

2929
## Bug Fixes
3030

31+
### Unicode Escape in View Mode Selector (v0.6.x)
32+
- Fixed checkmark showing as literal `\u2713` text instead of ✓ in tree view mode dropdown
33+
- JSX text content requires actual Unicode characters, not escape sequences
34+
3135
### Fan Chart Ancestor Count (v0.6.x)
3236
- Fixed footer showing incorrect count like "109 of 62 ancestors shown"
3337
- Now correctly counts only ancestors within the visible generation range

‎client/src/components/ancestry-tree/AncestryTreeView.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export function AncestryTreeView() {
237237
<div className="text-xs text-app-text-muted truncate">{mode.description}</div>
238238
</div>
239239
{viewMode === mode.id && (
240-
<span className="text-app-accent text-sm">\u2713</span>
240+
<span className="text-app-accent text-sm">✓</span>
241241
)}
242242
</button>
243243
))}

0 commit comments

Comments
 (0)