Problem
When opening the project picker dropdown, the first item in the list is always highlighted, even when a different project is currently selected (shown with a checkmark).
To Reproduce
- Have multiple projects in the project list
- Select a project that is not the first one in the list
- Open the project picker dropdown
- Observe that the first item is highlighted instead of the selected project
Expected behavior
The currently selected project should be highlighted when the dropdown opens, matching the item with the checkmark. Screenshots N/A Additional context The useProjectPicker hook initializes selectedProjectIndex to 0 and doesn't have access to currentProject to determine the correct initial index.