Skip to content

Commit

Permalink
fix: The Web UX is intentionally not revealing references when clicke…
Browse files Browse the repository at this point in the history
…d to display (#1008)

Co-authored-by: Arpit Gaur <gaurarpit@gmail.com>
  • Loading branch information
Rohini-Microsoft and gaurarpit authored May 31, 2024
1 parent 99a8298 commit 8a56849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/frontend/src/components/Answer/Answer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Answer = ({
if(chevronIsExpanded && refContainer.current){
refContainer.current.scrollIntoView({ behavior:'smooth'});
}
}, [isRefAccordionOpen]);
}, [chevronIsExpanded,isRefAccordionOpen]);

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

0 comments on commit 8a56849

Please sign in to comment.