diff --git a/apps/web/src/components/Sidebar.logic.ts b/apps/web/src/components/Sidebar.logic.ts index a558fce79f..348c56c66d 100644 --- a/apps/web/src/components/Sidebar.logic.ts +++ b/apps/web/src/components/Sidebar.logic.ts @@ -211,7 +211,7 @@ function getLatestUserMessageTimestamp(thread: SidebarThreadSortInput): number { return toSortableTimestamp(thread.updatedAt ?? thread.createdAt); } -export function getThreadSortTimestamp( +function getThreadSortTimestamp( thread: SidebarThreadSortInput, sortOrder: SidebarThreadSortOrder | Exclude, ): number {