chats work and look a bit better

This commit is contained in:
Henry Jameson 2022-04-05 13:19:12 +03:00
parent e7ac0e5d68
commit cfa8edf2c0
4 changed files with 15 additions and 13 deletions

View file

@ -1,6 +1,5 @@
// Captures a scroll position
export const getScrollPosition = (el) => {
console.log(el)
return {
scrollTop: el.scrollTop,
scrollHeight: el.scrollHeight,