feat(web):Add GraphRAG web statics (#1943)

This commit is contained in:
Aries-ckt
2024-09-03 10:28:59 +08:00
committed by GitHub
parent 75e4cc0ff1
commit ecc3cb5525
383 changed files with 1600 additions and 1623 deletions

View File

@@ -72,7 +72,7 @@ const ChatCompletion: React.FC = () => {
setTimeout(() => {
scrollableRef.current?.scrollTo(0, scrollableRef.current?.scrollHeight);
}, 50);
}, [history, history[history.length - 1].context]);
}, [history, history[history.length - 1]?.context]);
return (
<div className='flex flex-col w-5/6 mx-auto' ref={scrollableRef}>