🔥 refactor(chatModal/index.tsx): remove unused setNoticeData function from alertContext
🔒 chore(chatModal/index.tsx): remove unused lockChat state variable and setLockChat function
This commit is contained in:
parent
612c7a988c
commit
d0124dc4cc
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export default function ChatModal({
|
|||
const [chatValue, setChatValue] = useState("");
|
||||
const [chatHistory, setChatHistory] = useState<ChatMessageType[]>([]);
|
||||
const { reactFlowInstance } = useContext(typesContext);
|
||||
const { setErrorData, setNoticeData } = useContext(alertContext);
|
||||
const { setErrorData } = useContext(alertContext);
|
||||
const ws = useRef<WebSocket | null>(null);
|
||||
const [lockChat, setLockChat] = useState(false);
|
||||
const isOpen = useRef(open);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue