fix: sync focused suggestion index when clicking Line N pill
This commit is contained in:
@@ -1470,6 +1470,7 @@ export function AISidebar({ fullPage = false }: AISidebarProps) {
|
||||
title="Click to highlight this line on the writing screen"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
setFocusedIndex(idx);
|
||||
handleHighlightLine(sg.lineNumber ?? 1);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user