Skip to content

Commit

Permalink
Update DPChat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Feb 1, 2024
1 parent 084258c commit e835ef7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function DPChat({
// send init event, since we will finish loading before we display the DP
setTimeout(() => {
dispatch(sendTextMessage({ text: '...' }));
}, 1000);
}, 5000);
// run resize once on mount, then add listener for future resize events
handleResize();
window.addEventListener('resize', handleResize);
Expand Down

0 comments on commit e835ef7

Please sign in to comment.