-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
refactor: use promise.all instead of sequential awaited calls #8316
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
id: role.id, | ||
name: role.name, | ||
type: role.type as PersonalDashboardProjectDetailsSchema['roles'][number]['type'], | ||
const formatEvents = (recentEvents) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the recentEvents any
typed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably implicitly so, yeah. I can see if I can add some types if you want
})); | ||
|
||
const filterRoles = (allRoles) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also seems to be any
typed
This PR follows up on a comment made in #8314 and groups sequential awaited calls into a single Promise.all instead.