GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web,mobile): author avatars keep emoji initials whole (#42598) · pingdotgg/t3code@fbd939e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps
    • mobile/src/features/pull-requests
      • PullRequestPresentation.tsx
    • web/src/components/pullRequest
      • pullRequestPresentation.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/mobile/src/features/pull-requests/PullRequestPresentation.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/pull-requests/PullRequestPresentation.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function PullRequestAvatar(props: {
6666
style={{ width: size, height: size }}
6767
>
6868
<Text className="font-t3-medium text-foreground-muted" style={{ fontSize: size * 0.45 }}>
69-
{props.actor?.login.slice(0, 1).toUpperCase() ?? "?"}
69+
{props.actor ? [...props.actor.login][0]?.toUpperCase() : "?"}
7070
</Text>
7171
</View>
7272
);
Collapse file

‎apps/web/src/components/pullRequest/pullRequestPresentation.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/components/pullRequest/pullRequestPresentation.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ export function PullRequestActorAvatar({
481481
className,
482482
)}
483483
>
484-
{login.slice(0, 1).toUpperCase()}
484+
{[...login][0]?.toUpperCase()}
485485
</span>
486486
) : (
487487
<img

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.