Skip to content

Commit

Permalink
Update DPChat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Jan 26, 2024
1 parent 8096ad1 commit 2fda6b4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions petstore/petstoreapp/soulmachines-react-app/src/routes/DPChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@ function DPChat({
};

useEffect(() => {
// send init event, since we will finish loading before we display the DP
setTimeout(() => {
dispatch(
// get an element and click it to start the conversation
// console.log('textMessageInput ...'),
// document.getElementById('textMessageInput').value = '...',
// console.log('sendMessageButton click'),
// document.getElementById('sendMessageButton').click(),
);
}, 2000);
// run resize once on mount, then add listener for future resize events
handleResize();
window.addEventListener('resize', handleResize);
Expand Down

0 comments on commit 2fda6b4

Please sign in to comment.