Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report: small renderAudit simplification #15725

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

brendankenny
Copy link
Member

Total driveby, but it felt wrong to cast the result of the only remaining call to populateAuditValues :) From the template we know we always want div.lh-audit, and adding the div makes dom.find() know it's returning an HTMLElement, not just an Element.

But then I also realized with only a single caller of populateAuditValues now, we don't need separate renderAudit/populateAuditValues functions at all anymore (👋 #5136).

@brendankenny brendankenny requested a review from a team as a code owner January 4, 2024 18:28
@brendankenny brendankenny requested review from adamraine and removed request for a team January 4, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants