Files
t3code/apps
Cursor Agent 659ca5e71b Fix NaN comparator skipping tiebreaker in project sorting
When both projects lack timestamps and have no threads, getProjectSortTimestamp
returns NEGATIVE_INFINITY for both. Subtracting NEGATIVE_INFINITY - NEGATIVE_INFINITY
yields NaN, and since NaN !== 0 is true, the comparator returned NaN instead of
falling through to the name/id tiebreaker. Add Number.isNaN guard to the condition.
2026-03-24 18:49:37 +00:00
..