mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
fmt(js): npm run fix on merge (#71818)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
21a2185f86
commit
a97b6ff8f6
1 changed files with 1 additions and 4 deletions
|
|
@ -87,10 +87,7 @@ export function sortProjectsForOverview(
|
|||
// Fresh projects keep their place in the deterministic sort instead: ones with
|
||||
// real activity go on top (a project you just started still surfaces), and
|
||||
// zero-session discoveries sink below the hand-ordered list.
|
||||
export function orderProjectsByIds(
|
||||
projects: SidebarProjectTree[],
|
||||
orderIds: string[]
|
||||
): SidebarProjectTree[] {
|
||||
export function orderProjectsByIds(projects: SidebarProjectTree[], orderIds: string[]): SidebarProjectTree[] {
|
||||
if (!orderIds.length) {
|
||||
return projects
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue