Commented out useEffect that sets notice data when there is no ChatOutput
This commit is contained in:
parent
782ec35e20
commit
ea9d56175b
1 changed files with 5 additions and 5 deletions
|
|
@ -39,11 +39,11 @@ export default function ChatView({
|
||||||
const outputTypes = outputs.map((obj) => obj.type);
|
const outputTypes = outputs.map((obj) => obj.type);
|
||||||
const updateFlowPool = useFlowStore((state) => state.updateFlowPool);
|
const updateFlowPool = useFlowStore((state) => state.updateFlowPool);
|
||||||
|
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
if (!outputTypes.includes("ChatOutput")) {
|
// if (!outputTypes.includes("ChatOutput")) {
|
||||||
setNoticeData({ title: NOCHATOUTPUT_NOTICE_ALERT });
|
// setNoticeData({ title: NOCHATOUTPUT_NOTICE_ALERT });
|
||||||
}
|
// }
|
||||||
}, []);
|
// }, []);
|
||||||
|
|
||||||
//build chat history
|
//build chat history
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue