Skip to content

Commit

Permalink
fix(ask): fix performance issues
Browse files Browse the repository at this point in the history
  • Loading branch information
crazygo committed Nov 6, 2024
1 parent 5e612cc commit d7f52f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/ask-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ function AskPanel(props: AskPanelProps) {
QuoteAgent.getQuoteByDocument(window.location.href, document).then(quoteContext => {
updatePageContext(quoteContext);
});
}, [pageContext]);

useEffect(() => {
// console.log('chatContext.history = ' + JSON.stringify(chatContext.history));
function rerenderHistory() {
setHistory(
Expand Down

0 comments on commit d7f52f9

Please sign in to comment.