diff --git a/src/ChatBox.js b/src/ChatBox.js index 50d8d47..03b414f 100644 --- a/src/ChatBox.js +++ b/src/ChatBox.js @@ -5,7 +5,7 @@ import ChatBoxProps from "./ChatBoxProps.js"; import ChatButton from "./ChatButton.js"; const ChatBox = (props) => { - const { updateNeedForm, messages, updateMessages, token, deleteById } = props.props; + const { updateNeedForm, messages, updateMessages, token, updateState } = props.props; const [visible, setVisible] = useState(false); return (