Commented out useEffect that sets notice data when there is no ChatOutput

This commit is contained in:
anovazzi1 2024-03-30 18:59:38 -03:00
commit ea9d56175b

View file

@ -39,11 +39,11 @@ export default function ChatView({
const outputTypes = outputs.map((obj) => obj.type);
const updateFlowPool = useFlowStore((state) => state.updateFlowPool);
useEffect(() => {
if (!outputTypes.includes("ChatOutput")) {
setNoticeData({ title: NOCHATOUTPUT_NOTICE_ALERT });
}
}, []);
// useEffect(() => {
// if (!outputTypes.includes("ChatOutput")) {
// setNoticeData({ title: NOCHATOUTPUT_NOTICE_ALERT });
// }
// }, []);
//build chat history
useEffect(() => {