1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-01-22 07:51:20 +00:00
overleaf/services/web/app/views/project
Miguel Serrano 864a75c284 Fixed unread message count in react chat ()
* Fixed unread message count in react chat

The problem was caused by ChatStore being instantiated multiple times on each `useRef` call, plus also incorrectly cleaned-up, since it should be calling `socket.removeListener` instead of `socket.off` on effect destroy.

* deferred loading messages until chat is opened

GitOrigin-RevId: b990cd06cea6630472b0911b56219766717aaff6
2021-01-12 03:04:26 +00:00
..
editor Fixed unread message count in react chat () 2021-01-12 03:04:26 +00:00
invite
list
token
editor.pug Merge pull request from overleaf/msm-react-shared-context 2020-12-15 03:05:07 +00:00
importing.pug
list.pug