Skip to content

Commit

Permalink
minor changes to remove console.log statement in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshuNegi755 committed Nov 14, 2020
1 parent 0d8d11d commit ac154f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/src/components/Messages/Messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const Messages = ({ messages, name, replyFun, mutedUsers, roomName }) => {

const scrollToFun = (id) => {
if (id && id !== -1) {
console.log(id);
var elmnt = document.getElementById(id);
elmnt.scrollIntoView({behavior: "smooth"});
elmnt.style.backgroundColor = '#808080';
Expand Down

0 comments on commit ac154f9

Please sign in to comment.