Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Commit fda2f4a

Browse files
fix(web): satisfy ESLint padding in AccountReviewSection
Blank lines after const/if so test-web-ui lint passes on PR CI. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ae3b9b7 commit fda2f4a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎moon/apps/web/components/UserSettings/AccountReview/AccountReviewSection.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,15 @@ function reviewedByLabel(reviewedBy: string, users: UserApprovalStatusRes[]) {
143143
const match = users.find(
144144
(candidate) => candidate.campsite_user_id === reviewedBy || candidate.username === reviewedBy
145145
)
146+
146147
if (match?.display_name?.trim()) {
147148
return match.display_name.trim()
148149
}
150+
149151
if (match?.username && match.username !== match.campsite_user_id) {
150152
return match.username
151153
}
154+
152155
return reviewedBy
153156
}
154157

0 commit comments

Comments
 (0)