Skip to content

Commit 8a56849

Browse files
fix: The Web UX is intentionally not revealing references when clicked to display (#1008)
Co-authored-by: Arpit Gaur <gaurarpit@gmail.com>
1 parent 99a8298 commit 8a56849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/frontend/src/components/Answer/Answer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const Answer = ({
4040
if(chevronIsExpanded && refContainer.current){
4141
refContainer.current.scrollIntoView({ behavior:'smooth'});
4242
}
43-
}, [isRefAccordionOpen]);
43+
}, [chevronIsExpanded,isRefAccordionOpen]);
4444

4545
const createCitationFilepath = (citation: Citation, index: number, truncate: boolean = false) => {
4646
let citationFilename = "";

0 commit comments

Comments
 (0)